Mercurial > vim-gutentags
diff autoload/gutentags.vim @ 260:a282d08e0e7c
Revert previous change, it's breaking paths with spaces on unix.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 05 Feb 2020 21:22:55 -0800 |
parents | 74a71a5499c9 |
children | dc9216fc0c0f |
line wrap: on
line diff
--- a/autoload/gutentags.vim Wed Feb 05 21:09:48 2020 -0800 +++ b/autoload/gutentags.vim Wed Feb 05 21:22:55 2020 -0800 @@ -8,7 +8,7 @@ else let chdir = haslocaldir() ? 'lcd' : 'cd' endif - execute chdir substitute(a:path,'[\\/]\+','/','g') + execute chdir a:path endfunction " Throw an exception message.