Skip to content

Commit df38f1f

Browse files
authored
docs: add (disabled) diagnostics config to bug report template (#2484)
* docs: add (disabled) diagnostics config to bug report template * Revert "docs: add (disabled) diagnostics config to bug report template" This reverts commit aa0b9aa. * docs: add (disabled) diagnostics config to bug report template
1 parent c156856 commit df38f1f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/ISSUE_TEMPLATE/nvt-min.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,13 @@ _G.setup = function()
3535
require("nvim-tree").setup {}
3636
end
3737

38+
-- UNCOMMENT this block for diagnostics issues, substituting pattern and cmd as appropriate.
39+
-- Requires diagnostics.enable = true in setup.
40+
--[[
41+
vim.api.nvim_create_autocmd("FileType", {
42+
pattern = "lua",
43+
callback = function()
44+
vim.lsp.start { cmd = { "lua-language-server" } }
45+
end,
46+
})
47+
]]

0 commit comments

Comments
 (0)