Replace vim-gitgutter with vim-signify
vim-gitgutter is buggy. vim-signify might be better, it does allow configuration of which events trigger a sign column update and this patch takes advantage of that. Firstly, the `CursorHold` and `CursorHoldI` events are disabled and replaced with `InsertLeave` and `TextChanged` events. This makes the sign column updates immediate, and since vim-signify is asynchronous it's faster too.
This commit is contained in:
9
vimrc
9
vimrc
@@ -68,13 +68,8 @@ let g:ale_linters = {'c': [], 'cpp': []}
|
||||
let g:ale_cmake_cmakelint_options =
|
||||
\ '-convention/filename,-package/consistency,-package/stdargs'
|
||||
|
||||
" git diff in the sign column
|
||||
Pack 'airblade/vim-gitgutter'
|
||||
if exists('&signcolumn')
|
||||
set signcolumn=yes
|
||||
else
|
||||
let g:gitgutter_sign_column_always = 1
|
||||
endif
|
||||
" Version control differences in the sign column
|
||||
Pack 'mhinz/vim-signify'
|
||||
|
||||
" format.vim - format with text objects
|
||||
Pack 'git@bitbucket.org:infektor/format.vim.git'
|
||||
|
||||
Reference in New Issue
Block a user