improving startup time by using lazy loading or filetype loading

This commit is contained in:
Jeremie Fraeys 2024-07-21 20:57:00 -04:00
parent bdb655c5a1
commit 7f1b34fd6f
62 changed files with 1285 additions and 561 deletions

15
lua/custom/plugins/trouble.lua Executable file
View file

@ -0,0 +1,15 @@
return {
'folke/trouble.nvim',
cmd = "Trouble",
opts = {
auto_open = false,
auto_close = true,
auto_preview = true,
auto_fold = true,
use_diagnostic_signs = true,
},
keys = {
{ "<leader>tt", "<cmd>Trouble diagnostics toggle<cr>", desc = "Diagnostics (Trouble)" },
},
}