diff options
| author | Robert Günzler <r@gnzler.io> | 2022-02-08 23:43:49 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-02-08 23:43:49 +0100 |
| commit | c3ec2cbda1a472c5ad49d0a651994c78d74c9d9f (patch) | |
| tree | b06959016b3a5f38713459e83b185db1f331e5c7 /.vim/lua/lsp.lua | |
| parent | 15b5484ef71281fcb3e643b120dfc89b1b78491c (diff) | |
vim: fix builtin diagnostics
Diffstat (limited to '.vim/lua/lsp.lua')
| -rw-r--r-- | .vim/lua/lsp.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/.vim/lua/lsp.lua b/.vim/lua/lsp.lua index eb31b94..d9958b0 100644 --- a/.vim/lua/lsp.lua +++ b/.vim/lua/lsp.lua @@ -92,17 +92,6 @@ local setup = function() -- spinner_lsp.init_capabilities(caps) -- handler overwrites - -- configure builtin diagnositics - vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with( -- {{{ - vim.lsp.diagnostic.on_publish_diagnostics, { - virtual_text = false, - signs = true, - underline = true, - update_in_insert = false, - } - ) - -- }}} - -- overwrite codeAction handler to not ask for confirmation if only a single -- action is given vim.lsp.handlers['textDocument/codeAction'] = function(_, _, actions) -- {{{ @@ -147,13 +136,6 @@ local setup = function() end -- }}} - vim.fn.sign_define({ - {name='LspDiagnosticsSignError', text='⚡', numhl='Error'}, - {name='LspDiagnosticsSignWarning', text='⯈', numhl='Warning'}, - {name='LspDiagnosticsSignInformation', text='ℹ'}, - {name='LspDiagnosticsSignHint', text='🞶'} - }) - lsp.ccls.setup { on_attach = my_attach, on_exit = my_exit, |