Add gitgutter and syntastic.
This commit is contained in:
parent
187d0bd629
commit
136b7a5a26
1 changed files with 10 additions and 1 deletions
11
vim/init.vim
11
vim/init.vim
|
@ -18,7 +18,7 @@ set cursorcolumn
|
||||||
set nojoinspaces
|
set nojoinspaces
|
||||||
set nowritebackup
|
set nowritebackup
|
||||||
set termguicolors
|
set termguicolors
|
||||||
set relativenumber
|
"set relativenumber
|
||||||
|
|
||||||
set bs=2
|
set bs=2
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
@ -58,7 +58,9 @@ Plug 'rodjek/vim-puppet'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'edkolev/tmuxline.vim'
|
Plug 'edkolev/tmuxline.vim'
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'hashivim/vim-terraform'
|
Plug 'hashivim/vim-terraform'
|
||||||
|
Plug 'vim-syntastic/syntastic'
|
||||||
Plug 'bitc/vim-bad-whitespace'
|
Plug 'bitc/vim-bad-whitespace'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
@ -77,9 +79,16 @@ endif
|
||||||
command! -bang -nargs=? -complete=dir Files
|
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)
|
\ 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_auto_jump = 1
|
||||||
|
let g:syntastic_check_on_wq = 1
|
||||||
let g:syntastic_enable_signs = 1
|
let g:syntastic_enable_signs = 1
|
||||||
let g:syntastic_auto_loc_list = 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: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 = {
|
let g:lightline = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue