Use signcolumn when available

This commit is contained in:
Kenneth Benzie 2018-04-26 20:05:52 +01:00
parent 970c674381
commit 0db9d470ee

6
vimrc
View File

@ -70,7 +70,11 @@ hi link ALEWarningSign SyntasticWarningSign
" git diff in the sign column " git diff in the sign column
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
let g:gitgutter_sign_column_always = 1 if exists('&signcolumn')
set signcolumn=yes
else
let g:gitgutter_sign_column_always = 1
endif
if has('python') if has('python')
" format.vim - format with text objects " format.vim - format with text objects