Merge branch 'master' into jenipapo

This commit is contained in:
Thomas Ruoff
2017-03-24 08:05:15 +01:00
6 changed files with 37 additions and 74 deletions

View File

@@ -3,7 +3,7 @@ let g:lightline = {
\ 'colorscheme': 'solarized',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ], [ 'fugitive', 'filename' ], ['ctrlpmark'] ],
\ 'right': [ [ 'syntastic', 'lineinfo' ], ['percent'], [ 'fileformat', 'fileencoding', 'filetype' ] ]
\ 'right': [ [ 'ale', 'lineinfo' ], ['percent'], [ 'fileformat', 'fileencoding', 'filetype' ] ]
\ },
\ 'component_function': {
\ 'fugitive': 'LightLineFugitive',
@@ -15,10 +15,10 @@ let g:lightline = {
\ 'ctrlpmark': 'CtrlPMark',
\ },
\ 'component_expand': {
\ 'syntastic': 'SyntasticStatuslineFlag',
\ 'ale': 'ale#statusline#Status',
\ },
\ 'component_type': {
\ 'syntastic': 'error',
\ 'ale': 'error',
\ },
\ 'subseparator': { 'left': '|', 'right': '|' }
\ }
@@ -115,15 +115,6 @@ function! TagbarStatusFunc(current, sort, fname, ...) abort
return lightline#statusline(0)
endfunction
augroup AutoSyntastic
autocmd!
autocmd BufWritePost *.c,*.cpp,*.js,*.py call s:syntastic()
augroup END
function! s:syntastic()
SyntasticCheck
call lightline#update()
endfunction
let g:unite_force_overwrite_statusline = 0
let g:vimfiler_force_overwrite_statusline = 0
let g:vimshell_force_overwrite_statusline = 0