Add gitgutter and syntastic.

This commit is contained in:
Bartek Stalewski 2020-02-28 18:18:36 +01:00
parent 187d0bd629
commit 136b7a5a26

View file

@ -18,7 +18,7 @@ set cursorcolumn
set nojoinspaces
set nowritebackup
set termguicolors
set relativenumber
"set relativenumber
set bs=2
set tabstop=2
@ -58,7 +58,9 @@ Plug 'rodjek/vim-puppet'
Plug 'tpope/vim-fugitive'
Plug 'edkolev/tmuxline.vim'
Plug 'itchyny/lightline.vim'
Plug 'airblade/vim-gitgutter'
Plug 'hashivim/vim-terraform'
Plug 'vim-syntastic/syntastic'
Plug 'bitc/vim-bad-whitespace'
call plug#end()
@ -77,9 +79,16 @@ endif
command! -bang -nargs=? -complete=dir Files
\ call fzf#vim#files(<q-args>, {'options': ['-e', '--layout=reverse', '--height=80%', '--preview', 'bat --color=always --tabs=2 --style=plain --theme="Monokai Extended" {}']}, <bang>0)
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_auto_jump = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_enable_signs = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_puppet_puppetlint_args = "--no-80chars-check --no-autoloader_layout-check --no-nested_classes_or_defines-check --no-only_variable_string-check"
let g:lightline = {