tidy diagnostics setup
This commit is contained in:
@@ -79,19 +79,18 @@ vim.keymap.set("n", "<leader>Y", "\"+Y", { desc = 'Paste to system clipboard' })
|
||||
--
|
||||
-- Diagnostics
|
||||
--
|
||||
|
||||
-- Summary diagnostics at end of line for every error
|
||||
vim.diagnostic.config({
|
||||
|
||||
-- Summary diagnostics at end of line for every error
|
||||
virtual_text = {
|
||||
virt_text_win_vol = 3,
|
||||
},
|
||||
})
|
||||
|
||||
-- All diagnostics for the current line only
|
||||
vim.diagnostic.config({
|
||||
-- All diagnostics for the current line only
|
||||
virtual_lines = {
|
||||
current_line = true
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "]g", vim.diagnostic.goto_next)
|
||||
|
||||
Reference in New Issue
Block a user