diff --git a/home/vim/lua/ambroisie/lsp.lua b/home/vim/lua/ambroisie/lsp.lua index 8d347d3..f935c2f 100644 --- a/home/vim/lua/ambroisie/lsp.lua +++ b/home/vim/lua/ambroisie/lsp.lua @@ -11,6 +11,8 @@ M.on_attach = function(client, bufnr) vim.diagnostic.config({ -- Disable virtual test next to affected regions virtual_text = false, + -- Also disable virtual diagnostics under the affected regions + virtual_lines = false, -- Show diagnostics signs signs = true, -- Underline offending regions diff --git a/home/vim/plugin/settings/lsp-lines.lua b/home/vim/plugin/settings/lsp-lines.lua new file mode 100644 index 0000000..9c79818 --- /dev/null +++ b/home/vim/plugin/settings/lsp-lines.lua @@ -0,0 +1,3 @@ +local lsp_lines = require("lsp_lines") + +lsp_lines.setup()