1
0

tidy diagnostics setup

This commit is contained in:
2025-08-23 16:10:30 +01:00
parent 6c5ae5fae0
commit f93b08170f

View File

@@ -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)