Mercurial > vim-gutentags
changeset 265:cbe7ffc327a4
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.
author | Darren Kavanagh <dkav@users.noreply.github.com> |
---|---|
date | Fri, 22 May 2020 13:53:25 -0700 |
parents | 2d634600fd6e |
children | 1b74fb3819e1 |
files | autoload/gutentags.vim |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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