Removed fnamemodify() in path check for buflist.vim
This commit is contained in:
parent
2e2a66c5a0
commit
63111e9810
@ -22,7 +22,7 @@ function! airline#extensions#tabline#buflist#list()
|
|||||||
fun! s:ExcludePaths(nr)
|
fun! s:ExcludePaths(nr)
|
||||||
let bpath = fnamemodify(bufname(a:nr), ":p")
|
let bpath = fnamemodify(bufname(a:nr), ":p")
|
||||||
for f in s:exclude_paths
|
for f in s:exclude_paths
|
||||||
if bpath =~# fnamemodify(f, ":p") | return 1 | endif
|
if bpath =~# f | return 1 | endif
|
||||||
endfor
|
endfor
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user