Fix issue with tags completion not working right after the colon
This commit is contained in:
parent
d2ff96717e
commit
42f427e718
@ -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)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user