# HG changeset patch # User Darren Kavanagh # Date 1590180805 25200 # Node ID cbe7ffc327a4b2c43b9fea59b899ed4372ef3e36 # Parent 2d634600fd6e68c50b49333936b7f6b9b6a2fa67 Remove fnameescape call in chdir function fnameescape is applied when calling gutentags#chdir when called again it can cause the addition of extra escape characters. Resolves issue #277. diff -r 2d634600fd6e -r cbe7ffc327a4 autoload/gutentags.vim --- a/autoload/gutentags.vim Thu Apr 16 05:46:48 2020 +0700 +++ b/autoload/gutentags.vim Fri May 22 13:53:25 2020 -0700 @@ -525,7 +525,7 @@ " it possible to get the relative path of the filename to parse if we're " doing an incremental update. let l:prev_cwd = getcwd() - call gutentags#chdir(fnameescape(l:proj_dir)) + call gutentags#chdir(l:proj_dir) try call call("gutentags#".a:module."#generate", \[l:proj_dir, l:tags_file, @@ -537,7 +537,7 @@ echom v:exception finally " Restore the current directory... - call gutentags#chdir(fnameescape(l:prev_cwd)) + call gutentags#chdir(l:prev_cwd) endtry endfunction