From bfc54ee712018504e095482e8ed2407c6097a4dd Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 16 Feb 2023 22:45:51 +0100 Subject: Remove old workaround for lsp diagnostic highlights in .vimrc --- vim/.vimrc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'vim') 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() -- cgit v1.2.3