From a6eb3f300d3237fa111e30fa21b5084ed7636327 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Thu, 11 Aug 2022 08:39:41 +0200 Subject: updates on libraries --- after/plugin/lsp_lines.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'after/plugin/lsp_lines.lua') diff --git a/after/plugin/lsp_lines.lua b/after/plugin/lsp_lines.lua index 0ac3df8..5cb97b5 100644 --- a/after/plugin/lsp_lines.lua +++ b/after/plugin/lsp_lines.lua @@ -7,4 +7,13 @@ vim.diagnostic.config({ virtual_text = false, }) +vim.diagnostic.config({ virtual_lines = { only_current_line = true } }) + lsp_lines.setup() + +vim.keymap.set( + "", + "l", + require("lsp_lines").toggle, + { desc = "Toggle lsp_lines" } +) -- cgit v1.2.3