From ef678f31fdf24c0e6c4eca9a13ad9f63a53447b9 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 19 May 2025 02:22:49 -0400 Subject: turns out neovim supports lsp line diagnostics natively --- lua/conf/plugins/lsp_lines.lua | 4 ---- lua/core/lsp/functions.lua | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 lua/conf/plugins/lsp_lines.lua diff --git a/lua/conf/plugins/lsp_lines.lua b/lua/conf/plugins/lsp_lines.lua deleted file mode 100644 index 5a0a0ca..0000000 --- a/lua/conf/plugins/lsp_lines.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { "whynothugo/lsp_lines", - url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim", - disable = not vim.fn.has("nvim-0.8.0") -} diff --git a/lua/core/lsp/functions.lua b/lua/core/lsp/functions.lua index 0ec2c93..4591205 100644 --- a/lua/core/lsp/functions.lua +++ b/lua/core/lsp/functions.lua @@ -69,7 +69,7 @@ function M.setup() vim.diagnostic.config { virtual_text = false, virtual_lines = { - only_current_line = true + current_line = true }, update_in_insert = false, underline = true, -- cgit v1.2.1