aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorCamil Staps2021-06-15 15:38:04 +0200
committerCamil Staps2021-06-15 15:38:04 +0200
commit4fbbef788bbb6c0972f8dc44947451ee66e3e914 (patch)
tree85679e3914a2a40412c7d0ff697012ad44d4abf2 /vim
parentRemove vim-searchindex plugin (natively supported in neovim 0.4.0+) (diff)
Fix colors of signs in the git gutter
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 514be04..56993fd 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -117,6 +117,8 @@ 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()