From a27f4dc6e7e37272206b30a46847ad92ae07c444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 1 Sep 2016 22:13:21 +0200 Subject: [PATCH] Fix stupid mistake --- autoload/vimtex.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex.vim b/autoload/vimtex.vim index 30f23b0..9c5fe31 100644 --- a/autoload/vimtex.vim +++ b/autoload/vimtex.vim @@ -637,7 +637,7 @@ function! s:get_main_recurse(...) " {{{1 let l:filter .= '''' if len(filter(readfile(l:cand), l:filter)) > 0 - return s:get_main_recurse(fnameescape(l:cand, ':p')) + return s:get_main_recurse(fnamemodify(l:cand, ':p')) endif endfor endfunction