From 63111e9810707bd0993dc22e03eef669abd64746 Mon Sep 17 00:00:00 2001 From: mg979 Date: Sun, 4 Mar 2018 00:31:25 +0100 Subject: [PATCH] Removed fnamemodify() in path check for buflist.vim --- autoload/airline/extensions/tabline/buflist.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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