address syntax errors

resolves #683
This commit is contained in:
Bailey Ling 2015-01-03 19:38:17 -05:00
parent 1fd9886219
commit 13ee9f456a
4 changed files with 6 additions and 1 deletions

View File

@ -107,6 +107,7 @@ function! s:check_in_path()
if match(root, pattern) >= 0 if match(root, pattern) >= 0
let root = substitute(root, pattern, '', '') let root = substitute(root, pattern, '', '')
endif endif
endif
endif endif
let b:airline_file_in_root = stridx(bufferpath, root) > -1 let b:airline_file_in_root = stridx(bufferpath, root) > -1

View File

@ -1,6 +1,8 @@
" MIT License. Copyright (c) 2013-2014 Bailey Ling. " MIT License. Copyright (c) 2013-2014 Bailey Ling.
" vim: et ts=2 sts=2 sw=2 " vim: et ts=2 sts=2 sw=2
scriptencoding utf-8
let s:formatter = get(g:, 'airline#extensions#tabline#formatter', 'default') let s:formatter = get(g:, 'airline#extensions#tabline#formatter', 'default')
let s:excludes = get(g:, 'airline#extensions#tabline#excludes', []) let s:excludes = get(g:, 'airline#extensions#tabline#excludes', [])
let s:tab_nr_type = get(g:, 'airline#extensions#tabline#tab_nr_type', 0) let s:tab_nr_type = get(g:, 'airline#extensions#tabline#tab_nr_type', 0)

View File

@ -1,6 +1,8 @@
" MIT License. Copyright (c) 2013-2014 Bailey Ling. " MIT License. Copyright (c) 2013-2014 Bailey Ling.
" vim: et ts=2 sts=2 sw=2 " vim: et ts=2 sts=2 sw=2
scriptencoding utf-8
let s:skip_symbol = '…' let s:skip_symbol = '…'
function! airline#extensions#tabline#unique_tail_improved#format(bufnr, buffers) function! airline#extensions#tabline#unique_tail_improved#format(bufnr, buffers)

View File

@ -67,7 +67,7 @@ function! airline#extensions#whitespace#check()
endif endif
endif endif
return b:airline_whitespace_check return b:airline_whitespace_check
endfunction! endfunction
function! airline#extensions#whitespace#toggle() function! airline#extensions#whitespace#toggle()
if s:enabled if s:enabled