add shortcut for diagnostic popup
This commit is contained in:
parent
54a074cf21
commit
1f84dc1881
|
@ -30,6 +30,9 @@ return {
|
|||
vim.keymap.set("n", "<leader>l", function()
|
||||
lint.try_lint()
|
||||
end, { desc = "Trigger linting for current file" })
|
||||
vim.keymap.set("n", "<leader>L", function()
|
||||
vim.diagnostic.open_float()
|
||||
end, { desc = "Open diagnostic in pop-up" })
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue