changeset 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 bd136cb41034
children 4e1b0253f71a
files plugin/autotags.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)