1
0
mirror of https://github.com/amix/vimrc synced 2025-07-03 05:55:00 +08:00

Fixed some things in peaksea (regarding omni menu and folding in terminal mode). Optimized a bit colors for powerline

This commit is contained in:
amix
2013-04-13 18:33:45 -03:00
parent 0087ef8f9b
commit 67a1baaae3
38 changed files with 27 additions and 30 deletions

View File

@ -0,0 +1,16 @@
function! Powerline#Functions#syntastic#GetErrors(line_symbol) " {{{
if ! exists('g:syntastic_stl_format')
" Syntastic hasn't been loaded yet
return ''
endif
" Temporarily change syntastic output format
let old_stl_format = g:syntastic_stl_format
let g:syntastic_stl_format = '%E{ ERRORS (%e) '. a:line_symbol .' %fe }%W{ WARNINGS (%w) '. a:line_symbol .' %fw }'
let ret = SyntasticStatuslineFlag()
let g:syntastic_stl_format = old_stl_format
return ret
endfunction " }}}