mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-11 23:40:10 +08:00
Removed fnamemodify() in path check for buflist.vim
This commit is contained in:
1 parent
2e2a66c5a0
commit
63111e9810
1 file changed
+1
-1
@@ -22,7 +22,7 @@ function! airline#extensions#tabline#buflist#list()
|
||||
fun! s:ExcludePaths(nr)
|
||||
let bpath = fnamemodify(bufname(a:nr), ":p")
|
||||
for f in s:exclude_paths
|
||||
if bpath =~# fnamemodify(f, ":p") | return 1 | endif
|
||||
if bpath =~# f | return 1 | endif
|
||||
endfor
|
||||
endfun
|
||||
|
||||
|
||||
Reference in new issue
Block a user