diff autoload/gutentags.vim @ 98:d645125192aa

Fix more problems with paths and spaces in them.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 25 Feb 2016 21:04:46 -0800
parents b9965d1288c3
children e9ef45f763d4
line wrap: on
line diff
--- a/autoload/gutentags.vim	Sun Feb 21 10:34:47 2016 -0800
+++ b/autoload/gutentags.vim	Thu Feb 25 21:04:46 2016 -0800
@@ -121,7 +121,7 @@
         " Put the tag file in the cache dir instead of inside the
         " projet root.
         let l:tag_path = g:gutentags_cache_dir . '/' .
-                    \tr(l:tag_path, '\/:', '---')
+                    \tr(l:tag_path, '\/: ', '---_')
         let l:tag_path = substitute(l:tag_path, '/\-', '/', '')
     endif
     let l:tag_path = gutentags#normalizepath(l:tag_path)