|
| 1 | +name: Bug Report |
| 2 | +description: Report a problem with your_plugin.nvim |
| 3 | +title: "[Bug]: " |
| 4 | +labels: |
| 5 | + - bug |
| 6 | + |
| 7 | +body: |
| 8 | + - type: markdown |
| 9 | + attributes: |
| 10 | + value: | |
| 11 | + # Before reporting |
| 12 | +
|
| 13 | + - Confirm that the problem is reproducible. |
| 14 | + - Try using the [minimal reproduction template](https://github.com/your_github_user/your_plugin.nvim/blob/main/contrib/minimal.lua). |
| 15 | +
|
| 16 | + - type: checkboxes |
| 17 | + id: pre-requisites |
| 18 | + attributes: |
| 19 | + label: Pre-requisites |
| 20 | + description: | |
| 21 | + Make sure to check to see if you are following this requisites. |
| 22 | + options: |
| 23 | + - label: The issue is reproducible |
| 24 | + required: true |
| 25 | + - label: The aren't other issues similar to this problem. |
| 26 | + required: true |
| 27 | + - label: The aren't PRs tackling this problem. |
| 28 | + required: true |
| 29 | + |
| 30 | + - type: markdown |
| 31 | + attributes: |
| 32 | + value: | |
| 33 | + ## Issue report |
| 34 | +
|
| 35 | + - type: textarea |
| 36 | + id: nvim-version |
| 37 | + attributes: |
| 38 | + label: NeoVim version |
| 39 | + description: Paste here your NeoVim version, `nvim --version`. |
| 40 | + placeholder: | |
| 41 | + NVIM v0.10.0 |
| 42 | + Build type: RelWithDebInfo |
| 43 | + LuaJIT 2.1.1713484068 |
| 44 | + validations: |
| 45 | + required: true |
| 46 | + |
| 47 | + - type: dropdown |
| 48 | + id: operative-system |
| 49 | + attributes: |
| 50 | + label: Operative system |
| 51 | + description: OS in which the issue occurs |
| 52 | + multiple: true |
| 53 | + options: |
| 54 | + - Windows |
| 55 | + - MacOS |
| 56 | + - Linux |
| 57 | + - Android |
| 58 | + - All systems |
| 59 | + validations: |
| 60 | + required: true |
| 61 | + |
| 62 | + - type: textarea |
| 63 | + id: os-version |
| 64 | + attributes: |
| 65 | + label: OS version |
| 66 | + description: OS version in which the issue occurs |
| 67 | + placeholder: | |
| 68 | + MacOS 14.4.1 |
| 69 | + Windows 11 |
| 70 | + Ubuntu 22.04 |
| 71 | + ... |
| 72 | + validations: |
| 73 | + required: true |
| 74 | + |
| 75 | + - type: textarea |
| 76 | + id: issue-behaviour |
| 77 | + attributes: |
| 78 | + label: Behaviour |
| 79 | + description: | |
| 80 | + Describe the current behaviour. May include logs, images, videos ... |
| 81 | + validations: |
| 82 | + required: true |
| 83 | + |
| 84 | + - type: textarea |
| 85 | + id: repro-steps |
| 86 | + attributes: |
| 87 | + label: Steps to reproduce |
| 88 | + description: List the steps to reproduce the behaviour mentioned above. |
| 89 | + placeholder: | |
| 90 | + 1. `nvim --clean -u minimal.lua` |
| 91 | + 2. Go to ... |
| 92 | + 3. Use ... |
| 93 | + ... |
| 94 | + validations: |
| 95 | + required: true |
| 96 | + |
| 97 | + - type: textarea |
| 98 | + id: minimal-config |
| 99 | + attributes: |
| 100 | + label: Minimal config |
| 101 | + description: Minimal configuration to reproduce this behaviour. |
| 102 | + render: lua |
| 103 | + value: | |
| 104 | + vim.cmd([[set runtimepath=$VIMRUNTIME]]) |
| 105 | + vim.cmd([[set packpath=/tmp/nvim/]]) |
| 106 | +
|
| 107 | + local lazypath = "/tmp/nvim/lazy/lazy.nvim" |
| 108 | + if not vim.loop.fs_stat(lazypath) then |
| 109 | + vim.fn.system({ |
| 110 | + "git", |
| 111 | + "clone", |
| 112 | + "--filter=blob:none", |
| 113 | + "https://github.com/folke/lazy.nvim.git", |
| 114 | + "--branch=stable", -- latest stable release |
| 115 | + lazypath, |
| 116 | + }) |
| 117 | + end |
| 118 | + vim.opt.rtp:prepend(lazypath) |
| 119 | +
|
| 120 | + require("lazy").setup({ |
| 121 | + { |
| 122 | + "your_github_user/your_plugin.nvim", |
| 123 | + config = function() |
| 124 | + require("your_plugin").setup() |
| 125 | + end, |
| 126 | + lazy = false, |
| 127 | + enabled = true, |
| 128 | + }, |
| 129 | + }) |
| 130 | + validations: |
| 131 | + required: true |
0 commit comments