Bruno BELANYI
d87fd7b9e1
This is not only 'lsp_lines' configuration anymore, but the whole display of diagnostics.
18 lines
482 B
VimL
18 lines
482 B
VimL
lua << EOF
|
|
-- Show LSP diagnostics on virtual lines over affected regions
|
|
require("lsp_lines").register_lsp_virtual_lines()
|
|
|
|
vim.diagnostic.config({
|
|
-- Disable virtual test next to affected regions
|
|
virtual_text = false,
|
|
-- Show diagnostics signs
|
|
signs = true,
|
|
-- Underline offending regions
|
|
underline = true,
|
|
-- Do not bother me in the middle of insertion
|
|
update_in_insert = false,
|
|
-- Show highest severity first
|
|
severity_sort = true,
|
|
})
|
|
EOF
|