syntastic plugin installed
This commit is contained in:
parent
a50c22c295
commit
29f39d1592
19
vimrc
19
vimrc
|
@ -81,6 +81,9 @@ Plugin 'SirVer/ultisnips'
|
|||
" https://github.com/honza/vim-snippets
|
||||
Plugin 'honza/vim-snippets'
|
||||
|
||||
" syntastic
|
||||
" https://github.com/vim-syntastic/syntastic
|
||||
Plugin 'vim-syntastic/syntastic'
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
|
@ -150,7 +153,13 @@ set statusline+=%{fugitive#statusline()}
|
|||
set statusline+=%= " left/right separator
|
||||
set statusline+=[\ %{v:register}\ ]\ " active register
|
||||
set statusline+=[%{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')}]\ \ " session status
|
||||
set statusline+=%(%l,%c%V\ %=\ %P%) " line number,virtual line number, scroll percentage
|
||||
|
||||
set statusline+=%#InterfaceH3#
|
||||
set statusline+=\ %{SyntasticStatuslineFlag()}
|
||||
|
||||
set statusline+=%#InterfaceNormal#
|
||||
set statusline+=\ %l\
|
||||
set statusline+=%*
|
||||
|
||||
" always show statusline
|
||||
set laststatus=2
|
||||
|
@ -257,6 +266,14 @@ call add(g:mucomplete#chains['default'], 'ulti')
|
|||
|
||||
|
||||
|
||||
" syntastic
|
||||
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 0
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_stl_format = "[%eE %wW]"
|
||||
|
||||
" ultisnips
|
||||
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
|
||||
let g:UltiSnipsExpandTrigger="<leader>u"
|
||||
|
|
Loading…
Reference in New Issue