From 1fd6ef5a78a8cf7b9ccf520e94338b88371b6f70 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Mon, 5 Sep 2011 19:22:47 +0200 Subject: Bug fix: Correct typo in s:canonicalize() --- autoload/xolox/easytags.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 7f4c169..d81f95e 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -1,9 +1,9 @@ " Vim script " Author: Peter Odding -" Last Change: September 4, 2011 +" Last Change: September 5, 2011 " URL: http://peterodding.com/code/vim/easytags/ -let g:xolox#easytags#version = '2.5.4' +let g:xolox#easytags#version = '2.5.5' " Public interface through (automatic) commands. {{{1 @@ -620,7 +620,7 @@ function! s:canonicalize(filename) " {{{2 if a:filename != '' if has_key(s:cached_filenames, a:filename) return s:cached_filenames[a:filename] - endif + else let canonical = s:resolve(fnamemodify(a:filename, ':p')) let s:cached_filenames[a:filename] = canonical return canonical -- cgit v1.2.3