parent
1fd9886219
commit
13ee9f456a
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue