Skip to content

Commit

Permalink
chore: tweak issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoshihou514 committed Dec 23, 2024
1 parent 6d36c7d commit a5f309e
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
# https://github.com/mrcjkb/haskell-tools.nvim/blob/master/.github/ISSUE_TEMPLATE/bug_report.yml
# Based on https://github.com/mrcjkb/haskell-tools.nvim/blob/master/.github/ISSUE_TEMPLATE/bug_report.yml
name: Bug Report
description: Report a problem with guard.nvim
labels: [bug]
body:

- type: input
attributes:
label: "Neovim version (nvim -v)"
placeholder: "v0.10.0"
validations:
required: true

- type: input
attributes:
label: "Operating system/version"
placeholder: "Fedora Linux 40"
validations:
required: true

- type: textarea
attributes:
label: "Output of :checkhealth guard"
render: "console"
placeholder: |
Perhaps the tools are not in your $PATH?
label: "Expected behaviour"
description: "Describe the behaviour you expect."
validations:
required: true

- type: textarea
attributes:
label: "Actual behaviour"
validations:
required: true

- type: textarea
attributes:
label: "Output of :Guard info"
render: "markdown"
label: "Output of :checkhealth guard"
render: "console"
placeholder: |
Are the autocmds attached?
Perhaps the tools are not in your $PATH?
validations:
required: true

- type: textarea
attributes:
label: "How to reproduce the issue"
Expand All @@ -43,6 +50,7 @@ body:
nvim --clean -u /tmp/repro.lua
validations:
required: true

- type: checkboxes
attributes:
label: Are you sure this is a min repro?
Expand All @@ -51,14 +59,3 @@ body:
required: true
- label: I can confirm that my reproduction step only involves `vim.opt.rtp` and configuration themselves
required: true
- type: textarea
attributes:
label: "Expected behaviour"
description: "Describe the behaviour you expect."
validations:
required: true
- type: textarea
attributes:
label: "Actual behaviour"
validations:
required: true

0 comments on commit a5f309e

Please sign in to comment.