2021-08-22 17:06:41 -07:00
name : Language server (LSP) client bug
description : Report an issue with Neovim LSP
2021-07-25 07:07:20 -07:00
labels : [ bug, lsp]
body :
- type : markdown
attributes :
value : |
2021-08-22 16:56:41 -07:00
_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.
2021-07-25 07:07:20 -07:00
- type : input
attributes :
2021-08-22 17:06:41 -07:00
label : "Neovim version (nvim -v)"
2021-08-22 16:56:41 -07:00
placeholder : "0.6.0 commit db1b0ee3b30f"
2021-07-25 07:07:20 -07:00
validations :
required : true
- type : input
attributes :
2021-08-22 16:56:41 -07:00
label : "Language server name/version"
placeholder : "rls 0.5.2"
2021-07-25 07:07:20 -07:00
validations :
required : true
- type : input
attributes :
2021-08-22 16:56:41 -07:00
label : "Operating system/version"
2021-08-22 17:06:41 -07:00
placeholder : "emacs 23"
2021-07-25 07:07:20 -07:00
validations :
required : true
- type : textarea
attributes :
2021-08-22 17:06:41 -07:00
label : 'Steps to reproduce using "nvim -u minimal_init.lua"'
description : |
2022-10-02 16:08:42 -07:00
- Create a minimal_init.lua using vim.lsp.start - read `:h lsp-quickstart` and `:h vim.lsp.start` for more information.
2021-08-22 17:06:41 -07:00
- _Note_ : if the issue is with an autocompletion or other LSP plugin, report to that plugin's issue tracker.
2021-07-25 07:07:20 -07:00
validations :
required : true
- type : textarea
attributes :
label : "Expected behavior"
2021-08-22 16:56:41 -07:00
description : "Describe the behavior you expect. May include logs, images, or videos."
2021-07-25 07:07:20 -07:00
- type : textarea
attributes :
label : "Actual behavior"
- type : input
attributes :
2021-08-22 17:06:41 -07:00
label : "Log file"
placeholder : "https://gist.github.com/prakhar1989/1b0a2c9849b2e1e912fb"
description : |
- Upload `lsp.log` before and after the problem in a [secret gist](https://gist.github.com/). Paste the URL to the gist.
- You can set the log level by adding `vim.lsp.set_log_level("debug")` after setting up LSP in your config.
- You can find the location of the log with `:lua print(vim.lsp.get_log_path())`