~gpanders/dotfiles

5861ba86ee614f11ec714b44539ee4855ff96bdc — Gregory Anders a month ago fc7fab5
nvim: set LSP diagnostic colors in colorscheme
2 files changed, 10 insertions(+), 10 deletions(-)

M .config/nvim/colors/base16-eighties.vim
M .config/nvim/plugin/lspconfig.vim
M .config/nvim/colors/base16-eighties.vim => .config/nvim/colors/base16-eighties.vim +10 -0
@@ 178,3 178,13 @@ call s:hi('gitrebaseReset',  'magenta', '', '', '')
call s:hi('GitSignsAdd',    'green', 'brgreen', '', '')
call s:hi('GitSignsDelete', 'red', 'brgreen', '', '')
call s:hi('GitSignsChange', 'brblack', 'brgreen', '', '')

" LSP Diagnostics
call s:hi('LspDiagnosticsDefaultError', 'red', '', '', '')
call s:hi('LspDiagnosticsDefaultWarning', 'yellow', '', '', '')
call s:hi('LspDiagnosticsDefaultInformation', 'blue', '', '', '')
call s:hi('LspDiagnosticsDefaultHint', 'brblack', '', '', '')
call s:hi('LspDiagnosticsSignError', 'red', 'brgreen', '', '')
call s:hi('LspDiagnosticsSignWarning', 'yellow', 'brgreen', '', '')
call s:hi('LspDiagnosticsSignInformation', 'blue', 'brgreen', '', '')
call s:hi('LspDiagnosticsSignHint', 'brblack', 'brgreen', '', '')

M .config/nvim/plugin/lspconfig.vim => .config/nvim/plugin/lspconfig.vim +0 -10
@@ 56,13 56,3 @@ augroup load_lspconfig
    autocmd FileType go,c,cpp,rust,python ++once call s:load()
    autocmd User LspDiagnosticsChanged lua vim.lsp.diagnostic.set_loclist({ open_loclist = false })
augroup END

hi LspDiagnosticsDefaultError ctermfg=1
hi LspDiagnosticsDefaultWarning ctermfg=3
hi LspDiagnosticsDefaultInformation ctermfg=4
hi LspDiagnosticsDefaultHint ctermfg=7 cterm=italic

hi LspDiagnosticsSignError ctermfg=1 ctermbg=10
hi LspDiagnosticsSignWarning ctermfg=3 ctermbg=10
hi LspDiagnosticsSignInformation ctermfg=4 ctermbg=10
hi LspDiagnosticsSignHint ctermfg=7 ctermbg=10