Skip to content

Commit 611fbb9

Browse files
chore: add github issue template
1 parent 43991e1 commit 611fbb9

File tree

4 files changed

+106
-0
lines changed

4 files changed

+106
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Bug Report
2+
description: Report a problem in Rest.nvim
3+
labels: [bug]
4+
body:
5+
6+
- type: checkboxes
7+
id: faq-prerequisite
8+
attributes:
9+
label: Prerequisites
10+
options:
11+
- label: I am using the latest stable release of Neovim
12+
required: true
13+
- label: I am using the latest version of the plugin
14+
required: true
15+
16+
- type: input
17+
attributes:
18+
label: "Neovim Version"
19+
description: "`nvim --version`:"
20+
validations:
21+
required: true
22+
23+
- type: input
24+
attributes:
25+
label: "Operating system/version"
26+
placeholder: "MacOS 11.5"
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
attributes:
32+
label: "Actual behavior"
33+
description: "A description of actual behavior. Extra points if it includes images or videos."
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
attributes:
39+
label: "Expected behavior"
40+
description: "A description of the behavior you expected."
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
attributes:
46+
label: "Steps to reproduce"
47+
description: "Please describe how we can reproduce the issue."
48+
validations:
49+
required: true
50+
51+
- type: textarea
52+
attributes:
53+
label: "Other information"
54+
description: "Other information that could be helpful with debugging."
55+
56+
- type: textarea
57+
attributes:
58+
label: Repro (`lazy.nvim`)
59+
description: Minimal `init.lua` using `lazy.nvim` to reproduce this issue. Save as `repro.lua` and run with `nvim -u repro.lua`
60+
render: lua
61+
value: |
62+
vim.env.LAZY_STDPATH = ".repro"
63+
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
64+
65+
require("lazy.minit").repro({
66+
spec = {
67+
"rest-nvim/rest.nvim",
68+
{
69+
"nvim-treesitter/nvim-treesitter",
70+
build = ":TSUpdate",
71+
main = "nvim-treesitter.configs",
72+
opts = {
73+
ensure_installed = { "http" },
74+
sync_install = false,
75+
highlight = { enable = true },
76+
indent = { enable = true },
77+
},
78+
},
79+
},
80+
})
81+
validations:
82+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Ask a question
3+
url: https://github.com/rest-nvim/rest.nvim/discussions
4+
about: If you need help with configuration or something else
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Feature Request
2+
description: Suggest a new feature
3+
title: "Feature: "
4+
labels: [enhancement]
5+
body:
6+
- type: checkboxes
7+
id: issue-prerequisite
8+
attributes:
9+
label: Issues
10+
options:
11+
- label: I have checked [existing issues](https://github.com/rest-nvim/rest.nvim/issues?q=is%3Aissue) and there are no existing ones with the same request.
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: "Feature description"
17+
validations:
18+
required: true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
doc/tags
2+
.repro/
3+
repro*.lua

0 commit comments

Comments
 (0)