diff --git a/.github/ISSUE_TEMPLATE/nvt-min.lua b/.github/ISSUE_TEMPLATE/nvt-min.lua index 609ea3b3f55..666b661d8e1 100644 --- a/.github/ISSUE_TEMPLATE/nvt-min.lua +++ b/.github/ISSUE_TEMPLATE/nvt-min.lua @@ -35,3 +35,13 @@ _G.setup = function() require("nvim-tree").setup {} end +-- UNCOMMENT this block for diagnostics issues, substituting pattern and cmd as appropriate. +-- Requires diagnostics.enable = true in setup. +--[[ +vim.api.nvim_create_autocmd("FileType", { + pattern = "lua", + callback = function() + vim.lsp.start { cmd = { "lua-language-server" } } + end, +}) +]]