Mercurial > vim-gutentags
changeset 27:173f055bde34
Make sure we get a clean project dir.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 16 Sep 2014 17:04:25 -0700 |
parents | 8bcc9da32f7c |
children | cae2a1c22cfd |
files | plugin/gutentags.vim |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/gutentags.vim Tue Sep 02 16:15:10 2014 -0700 +++ b/plugin/gutentags.vim Tue Sep 16 17:04:25 2014 -0700 @@ -144,7 +144,8 @@ while l:path != l:previous_path for root in g:gutentags_project_root if getftype(l:path . '/' . root) != "" - return simplify(fnamemodify(l:path, ':p')) + let l:proj_dir = simplify(fnamemodify(l:path, ':p')) + return s:stripslash(l:proj_dir) endif endfor let l:previous_path = l:path