diff --git a/autoload/airline/extensions/tabline/buflist.vim b/autoload/airline/extensions/tabline/buflist.vim index ce87aae..0ef2d49 100644 --- a/autoload/airline/extensions/tabline/buflist.vim +++ b/autoload/airline/extensions/tabline/buflist.vim @@ -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