diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-09 16:07:52 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-09 16:07:52 +0200 |
| commit | 88c0475529da7ae55958281f295b208f424cd206 (patch) | |
| tree | 379266031f8274243ff2b019c7934f6aaec1f717 /lua/plugins | |
| parent | ebae5d4582f7b94cb47342491dfd51bf0c9867d1 (diff) | |
| download | dotfiles-88c0475529da7ae55958281f295b208f424cd206.tar.gz dotfiles-88c0475529da7ae55958281f295b208f424cd206.zip | |
Moved lsp_lines configurations to lsp.lua
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/lsp_lines.lua | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lua/plugins/lsp_lines.lua b/lua/plugins/lsp_lines.lua deleted file mode 100644 index 5adcb8e..0000000 --- a/lua/plugins/lsp_lines.lua +++ /dev/null @@ -1,21 +0,0 @@ -local status_ok, lsp_lines = pcall(require, "lsp_lines") -if not status_ok then - return -end - -lsp_lines.setup() - -vim.keymap.set("n", "g?", function() - local lines_enabled = not vim.diagnostic.config().virtual_lines - vim.diagnostic.config( - { - virtual_lines = lines_enabled, - virtual_text = not lines_enabled - } - ) -end, { noremap = true, silent = true }) - -vim.diagnostic.config({ - virtual_text = true, - virtual_lines = false -}) |
