diagnostics inline display changes
parent
37fb243950
commit
9ac8c17116
|
|
@ -36,7 +36,17 @@ do
|
|||
end
|
||||
---------- </border ------------------------------
|
||||
|
||||
vim.diagnostic.config({ virtual_lines = { current_line = true } })
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false, -- Disable inline virtual text
|
||||
float = {
|
||||
border = "rounded", -- You can choose "single", "double", etc.
|
||||
source = "always", -- Show the source of the diagnostic (set to 'if_many' for less clutter)
|
||||
header = "", -- Optional: add a header to the float window
|
||||
prefix = "", -- Optional: prefix for each diagnostic (leave empty for no prefix)
|
||||
},
|
||||
underline = true, -- Optional: underline the lines with errors
|
||||
signs = true, -- Optional: show signs in the sign column
|
||||
})
|
||||
|
||||
-- enable keybinds only for when lsp server available
|
||||
local on_attach = function(_, bufnr)
|
||||
|
|
|
|||
Loading…
Reference in New Issue