# HG changeset patch # User zoumi # Date 1579403593 -28800 # Node ID 74a71a5499c96f45cf5fde5da10fb79032a43b96 # Parent 81d51b4a2a78121b0dd0a99dcdbc1121c20640ce Purge path before chdir When gutentags try to chdir to a path like E:\\\\vim\\good\\, it will fail. So we need remove duplicate pathseps. And "/" works on windows. So I replace all pathsep to '/' diff -r 81d51b4a2a78 -r 74a71a5499c9 autoload/gutentags.vim --- a/autoload/gutentags.vim Sat Mar 30 14:00:22 2019 +0800 +++ b/autoload/gutentags.vim Sun Jan 19 11:13:13 2020 +0800 @@ -8,7 +8,7 @@ else let chdir = haslocaldir() ? 'lcd' : 'cd' endif - execute chdir a:path + execute chdir substitute(a:path,'[\\/]\+','/','g') endfunction " Throw an exception message.