nvim: Update plugins and lazy loading events
This commit is contained in:
parent
d1ef6584f1
commit
a665648b1e
5 changed files with 34 additions and 27 deletions
|
|
@ -98,7 +98,7 @@ return {
|
|||
},
|
||||
{ "WhoIsSethDaniel/mason-tool-installer.nvim" },
|
||||
},
|
||||
event = { "BufRead", "BufNewFile", "InsertEnter" },
|
||||
event = { "BufReadPost", "BufNewFile", "BufWritePre" },
|
||||
after = { "nvim-cmp" },
|
||||
config = function()
|
||||
require("plugins.config.lsp")
|
||||
|
|
@ -125,7 +125,7 @@ return {
|
|||
end,
|
||||
})
|
||||
end,
|
||||
event = { "BufWritePre", "InsertEnter" },
|
||||
event = { "BufReadPost", "BufNewFile", "BufWritePre" },
|
||||
},
|
||||
|
||||
-- formatting setup
|
||||
|
|
@ -167,7 +167,7 @@ return {
|
|||
})
|
||||
end,
|
||||
cmd = { "ConformInfo" },
|
||||
event = { "BufReadPre" },
|
||||
event = { "BufReadPost", "BufNewFile", "BufWritePre" },
|
||||
keys = {
|
||||
{
|
||||
"<localleader>ll",
|
||||
|
|
@ -238,7 +238,12 @@ return {
|
|||
},
|
||||
keys = {
|
||||
{ "<leader>sd", "<cmd>Trouble diagnostics toggle<cr>", silent = true, desc = "diagnostics workspace" },
|
||||
{ "<leader>sD", "<cmd>Trouble diagnostics toggle filter.buf=0<cr>", silent = true, desc = "diagnostics document" },
|
||||
{
|
||||
"<leader>sD",
|
||||
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
|
||||
silent = true,
|
||||
desc = "diagnostics document",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue