docs: add (disabled) diagnostics config to bug report template

This commit is contained in:
Alexander Courtis 2023-10-21 12:10:45 +11:00
parent 40b9b887d0
commit aa0b9aa9b8

View File

@ -11,6 +11,10 @@ local function load_plugins()
"wbthomason/packer.nvim", "wbthomason/packer.nvim",
"nvim-tree/nvim-tree.lua", "nvim-tree/nvim-tree.lua",
"nvim-tree/nvim-web-devicons", "nvim-tree/nvim-web-devicons",
-- UNCOMMENT for diagnostics issues
-- "neovim/nvim-lspconfig",
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
}, },
config = { config = {
@ -30,8 +34,16 @@ vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua setup()]]
vim.opt.termguicolors = true vim.opt.termguicolors = true
vim.opt.cursorline = true vim.opt.cursorline = true
-- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
_G.setup = function() _G.setup = function()
require("nvim-tree").setup {} -- MODIFY NVIM-TREE SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end require("nvim-tree").setup {
diagnostics = {
-- ENABLE for diagnostics issues
enable = false,
},
}
-- SETUP your language server e.g. lua-language-server, see
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
-- require("lspconfig").lua_ls.setup {}
end