New command :VimwikiCheckLinks

while we are at it, refactor the code to search through files
This commit is contained in:
EinfachToll
2014-12-04 21:18:58 +01:00
parent eb02e0be9a
commit 931b40ade1
6 changed files with 245 additions and 103 deletions

View File

@ -13,8 +13,9 @@ endif
"TODO do nothing if ...? (?)
let g:starttime = reltime() " start the clock
if VimwikiGet('maxhi')
let b:existing_wikifiles = vimwiki#base#get_links('*'.VimwikiGet('ext'))
let b:existing_wikidirs = vimwiki#base#get_links('*/')
let b:existing_wikifiles = vimwiki#base#get_wikilinks(g:vimwiki_current_idx)
let b:existing_wikidirs =
\ vimwiki#base#get_wiki_directories(g:vimwiki_current_idx)
endif
let s:timescans = vimwiki#u#time(g:starttime) "XXX
"let b:xxx = 1