Mercurial > vim-gutentags
diff plugin/autotags.vim @ 21:1f6ecd4258d7
Quick hack fix for bug on load.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 01 Sep 2014 08:48:48 -0700 |
parents | d48b0e48283b |
children |
line wrap: on
line diff
--- a/plugin/autotags.vim Sun Aug 31 21:47:39 2014 -0700 +++ b/plugin/autotags.vim Mon Sep 01 08:48:48 2014 -0700 @@ -76,7 +76,7 @@ if !exists('g:autotags_cache_dir') let g:autotags_cache_dir = '' else - let g:autotags_cache_dir = s:stripslash(g:autotags_cache_dir) + let g:autotags_cache_dir = fnamemodify(g:autotags_cache_dir, ':s?[/\\]$??') endif if g:autotags_cache_dir != '' && !isdirectory(g:autotags_cache_dir)