Removed fnamemodify() in path check for buflist.vim

This commit is contained in:
mg979 2018-03-04 00:31:25 +01:00
parent 2e2a66c5a0
commit 63111e9810

View File

@ -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