Skip to content

Commit aa0b9aa

Browse files
committed
docs: add (disabled) diagnostics config to bug report template
1 parent 40b9b88 commit aa0b9aa

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/ISSUE_TEMPLATE/nvt-min.lua

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ local function load_plugins()
1111
"wbthomason/packer.nvim",
1212
"nvim-tree/nvim-tree.lua",
1313
"nvim-tree/nvim-web-devicons",
14+
15+
-- UNCOMMENT for diagnostics issues
16+
-- "neovim/nvim-lspconfig",
17+
1418
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
1519
},
1620
config = {
@@ -30,8 +34,16 @@ vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua setup()]]
3034
vim.opt.termguicolors = true
3135
vim.opt.cursorline = true
3236

33-
-- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
3437
_G.setup = function()
35-
require("nvim-tree").setup {}
36-
end
38+
-- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
39+
require("nvim-tree").setup {
40+
diagnostics = {
41+
-- ENABLE for diagnostics issues
42+
enable = false,
43+
},
44+
}
3745

46+
-- SETUP your language server e.g. lua-language-server, see
47+
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
48+
-- require("lspconfig").lua_ls.setup {}
49+
end

0 commit comments

Comments
 (0)