aboutsummaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorCamil Staps2023-02-16 22:45:51 +0100
committerCamil Staps2023-02-16 22:45:51 +0100
commitbfc54ee712018504e095482e8ed2407c6097a4dd (patch)
tree6e0734aebbfcf6b53c202685bee9a79fc5709f7d /vim/.vimrc
parentExplain use of fonts in readme (diff)
Remove old workaround for lsp diagnostic highlights in .vimrc
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc15
1 files changed, 0 insertions, 15 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 69b7df7..831d8ae 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -123,22 +123,7 @@ endfunction
function! s:colorscheme_changed()
call s:detect_terminal_line_border()
-
call s:reset_gitgutter_highlights()
-
- if has('nvim')
- " See https://github.com/neovim/nvim-lspconfig/issues/516
- lua require('vim.lsp.diagnostic')._define_default_signs_and_highlights()
-
- highlight LspDiagnosticsDefaultError ctermfg=red
- highlight LspDiagnosticsSignError ctermfg=red
- highlight LspDiagnosticsDefaultWarning ctermfg=brown
- highlight LspDiagnosticsSignWarning ctermfg=brown
- highlight LspDiagnosticsDefaultInformation ctermfg=yellow
- highlight LspDiagnosticsSignInformation ctermfg=yellow
- highlight LspDiagnosticsDefaultHint ctermfg=yellow
- highlight LspDiagnosticsSignHint ctermfg=yellow
- endif
endfunction
autocmd VimEnter,ColorScheme * call s:colorscheme_changed()