Use signcolumn=yes when available

This commit is contained in:
Kenneth Benzie 2018-04-15 15:24:04 +01:00 committed by Benie
parent 097646072d
commit a6e299381e

6
vimrc
View File

@ -70,7 +70,11 @@ hi link ALEWarningSign SyntasticWarningSign
" git diff in the sign column
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')
" format.vim - format with text objects