diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-08-11 08:39:41 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-08-11 08:39:41 +0200 |
| commit | a6eb3f300d3237fa111e30fa21b5084ed7636327 (patch) | |
| tree | ca893f2a6d3e304152f872ce9181dfb5d9a7b2a9 /after/plugin/lsp_lines.lua | |
| parent | f61af678dd5da523340c71f57eb95d8d8a76d780 (diff) | |
| download | nvim-conf-a6eb3f300d3237fa111e30fa21b5084ed7636327.tar.gz nvim-conf-a6eb3f300d3237fa111e30fa21b5084ed7636327.zip | |
updates on libraries
Diffstat (limited to 'after/plugin/lsp_lines.lua')
| -rw-r--r-- | after/plugin/lsp_lines.lua | 9 |
1 files changed, 9 insertions, 0 deletions
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( + "", + "<Leader>l", + require("lsp_lines").toggle, + { desc = "Toggle lsp_lines" } +) |