Compare commits

..

1 Commits

Author SHA1 Message Date
9c64158445 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.
2021-01-26 23:45:49 +00:00
2 changed files with 5 additions and 3 deletions

View File

@ -162,6 +162,11 @@ set mouse=a
" q - allow formatting with 'gq' " q - allow formatting with 'gq'
set formatoptions+=rq set formatoptions+=rq
" Always show the signcolum
if exists('&signcolumn')
set signcolumn=yes
endif
" Enable modeline " Enable modeline
set modeline set modeline

3
vimrc
View File

@ -70,9 +70,6 @@ let g:ale_cmake_cmakelint_options =
" Version control differences in the sign column " Version control differences in the sign column
Pack 'mhinz/vim-signify' Pack 'mhinz/vim-signify'
if exists('&signcolumn')
set signcolumn=yes
endif
" format.vim - format with text objects " format.vim - format with text objects
Pack 'git@bitbucket.org:infektor/format.vim.git' Pack 'git@bitbucket.org:infektor/format.vim.git'