nix-config/home/vim/plugin/settings/lsp_lines.vim
Bruno BELANYI 58de8106a1 home: vim: add 'lsp_lines'
I dislike the diagnostics *next* to affected lines.

This looks neater, though the best look would be a simple hover window
or status line message instead, like ALE used to do.

It might grow on me however.
2022-03-02 12:30:53 +01:00

10 lines
229 B
VimL

lua << EOF
-- Show LSP diagnostics on virtual lines over affected regions
require("lsp_lines").register_lsp_virtual_lines()
-- Disable virtual test next to affected regions
vim.diagnostic.config({
virtual_text = false,
})
EOF