From c489d393695e90d424f9ae51e35c4d42358e6a71 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 9 Aug 2024 02:45:31 -0400 Subject: yes there's a bit of java in my nvim config why do you ask? --- lua/conf/plugins/lsp_lines.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/conf/plugins/lsp_lines.lua (limited to 'lua/conf/plugins/lsp_lines.lua') diff --git a/lua/conf/plugins/lsp_lines.lua b/lua/conf/plugins/lsp_lines.lua new file mode 100644 index 0000000..b257de5 --- /dev/null +++ b/lua/conf/plugins/lsp_lines.lua @@ -0,0 +1,14 @@ +return { 'whynothugo/lsp_lines.nvim', + url = 'https://git.sr.ht/~whynothugo/lsp_lines.nvim', + requires = 'neovim/nvim-lspconfig', + function() + require('lsp_lines').setup() + + vim.diagnostic.config { + virtual_lines = { + highlight_whole_line = false, + only_current_line = true + } + } + end +} -- cgit v1.2.1