mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Disable vim-gitgutter during :vimgrep.
This commit is contained in:
@@ -290,6 +290,10 @@ augroup gitgutter
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
autocmd ColorScheme * call highlight#define_sign_column_highlight() | call highlight#define_highlights()
|
autocmd ColorScheme * call highlight#define_sign_column_highlight() | call highlight#define_highlights()
|
||||||
|
|
||||||
|
" Disable during :vimgrep
|
||||||
|
autocmd QuickFixCmdPre *vimgrep* let g:gitgutter_enabled = 0
|
||||||
|
autocmd QuickFixCmdPost *vimgrep* let g:gitgutter_enabled = 1
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|||||||
Reference in New Issue
Block a user