aboutsummaryrefslogtreecommitdiff
path: root/.github/ISSUE_TEMPLATE/lsp_bug_report.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/ISSUE_TEMPLATE/lsp_bug_report.yml')
-rw-r--r--.github/ISSUE_TEMPLATE/lsp_bug_report.yml44
1 files changed, 23 insertions, 21 deletions
diff --git a/.github/ISSUE_TEMPLATE/lsp_bug_report.yml b/.github/ISSUE_TEMPLATE/lsp_bug_report.yml
index 88867ce644..bdad12e412 100644
--- a/.github/ISSUE_TEMPLATE/lsp_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/lsp_bug_report.yml
@@ -6,27 +6,14 @@ body:
- type: markdown
attributes:
value: |
- _Before reporting:_ search [existing issues](https://github.com/neovim/neovim/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and check the [FAQ](https://github.com/neovim/neovim/wiki/FAQ). Usage questions such as "How do I...?" or "Why isn't X language server/feature working?" belong on the [Neovim Discourse](https://neovim.discourse.group/c/7-category/7) and will be closed.
+ _Before reporting:_ search [existing issues](https://github.com/neovim/neovim/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and check the [FAQ](https://github.com/neovim/neovim/wiki/FAQ). Usage questions or "Why isn't X language server/feature working?" belong on [stackoverflow](https://vi.stackexchange.com/) and will be closed.
- - type: input
- attributes:
- label: "Neovim version (nvim -v)"
- placeholder: "0.6.0 commit db1b0ee3b30f"
- validations:
- required: true
- - type: input
- attributes:
- label: "Language server name/version"
- placeholder: "rls 0.5.2"
- validations:
- required: true
- - type: input
+ - type: textarea
attributes:
- label: "Operating system/version"
- placeholder: "emacs 23"
+ label: "Problem"
+ description: "Describe the bug caused by the Nvim LSP client."
validations:
required: true
-
- type: textarea
attributes:
label: 'Steps to reproduce using "nvim -u minimal_init.lua"'
@@ -46,7 +33,7 @@ body:
pattern = pattern,
callback = function(args)
local match = vim.fs.find(root_markers, { path = args.file, upward = true })[1]
- local root_dir = match and vim.fn.fnamemodify(match, ':p:h') or vim.NIL
+ local root_dir = match and vim.fn.fnamemodify(match, ':p:h') or nil
vim.lsp.start({
name = 'bugged-ls',
cmd = cmd,
@@ -65,14 +52,29 @@ body:
_Note_: if the issue is with an autocompletion or other LSP plugin, report to that plugin's issue tracker.
validations:
required: true
-
- type: textarea
attributes:
label: "Expected behavior"
description: "Describe the behavior you expect. May include logs, images, or videos."
- - type: textarea
+
+ - type: input
+ attributes:
+ label: "Neovim version (nvim -v)"
+ placeholder: "0.6.0 commit db1b0ee3b30f"
+ validations:
+ required: true
+ - type: input
+ attributes:
+ label: "Language server name/version"
+ placeholder: "rls 0.5.2"
+ validations:
+ required: true
+ - type: input
attributes:
- label: "Actual behavior"
+ label: "Operating system/version"
+ placeholder: "emacs 23"
+ validations:
+ required: true
- type: input
attributes: