]> git.rmz.io Git - dotfiles.git/commitdiff
vim: prefer other signs over gitgutter
authorSamir Benmendil <me@rmz.io>
Sun, 17 Jan 2021 23:53:31 +0000 (23:53 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Jan 2021 23:53:31 +0000 (23:53 +0000)
The information provided by gitgutter is great, but it should really
never cover diagnostics from ycm.

I believe this is why I made this change, I had this uncommitted local
change for a while without any comments around it.

vim/vimrc

index ddc53d985af39f0ec88fd3e0930313d9a558fd15..82617e8123148666edea5c390b185881ad42cfe2 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -18,7 +18,12 @@ call plug#begin('$XDG_DATA_HOME/vim')
 " This does not update vim-plug, use PlugUpgrade instead
 Plug 'junegunn/vim-plug'
 
-Plug 'airblade/vim-gitgutter'
+Plug 'airblade/vim-gitgutter' " {{{
+" prefer other signs such as ycm diags
+let g:gitgutter_sign_priority = 1
+" don't clobber other signs
+let g:gitgutter_sign_allow_clobber = 0
+"}}}
 Plug 'alepez/vim-gtest'
 Plug 'alx741/vinfo'
 Plug 'andrewradev/switch.vim'