vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit 42f427e718e5bfe55418d8e9adb63014d45bbb03
parent d2ff96717e9f5bb3392c42df79df5f7e4d8c0822
Author: Ivan Tishchenko <ivan.tishchenko@dsr-company.con>
Date:   Thu,  5 Feb 2015 00:05:04 +0300

Fix issue with tags completion not working right after the colon

Diffstat:
Mftplugin/vimwiki.vim | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim @@ -66,8 +66,10 @@ function! Complete_wikifiles(findstart, base) " Tags completion let metadata = vimwiki#base#load_tags_metadata() let tags = vimwiki#base#get_tags(metadata) - call filter(tags, + if a:base != '' + call filter(tags, \ "v:val[:" . (len(a:base)-1) . "] == '" . substitute(a:base, "'", "''", '') . "'" ) + endif return tags elseif a:base !~ '#' " we look for wiki files