Mercurial > vim-gutentags
comparison 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 |
comparison
equal
deleted
inserted
replaced
20:bd136cb41034 | 21:1f6ecd4258d7 |
---|---|
74 endif | 74 endif |
75 | 75 |
76 if !exists('g:autotags_cache_dir') | 76 if !exists('g:autotags_cache_dir') |
77 let g:autotags_cache_dir = '' | 77 let g:autotags_cache_dir = '' |
78 else | 78 else |
79 let g:autotags_cache_dir = s:stripslash(g:autotags_cache_dir) | 79 let g:autotags_cache_dir = fnamemodify(g:autotags_cache_dir, ':s?[/\\]$??') |
80 endif | 80 endif |
81 | 81 |
82 if g:autotags_cache_dir != '' && !isdirectory(g:autotags_cache_dir) | 82 if g:autotags_cache_dir != '' && !isdirectory(g:autotags_cache_dir) |
83 call mkdir(g:autotags_cache_dir, 'p') | 83 call mkdir(g:autotags_cache_dir, 'p') |
84 endif | 84 endif |