Fix :VimwikiNextTask
Use the correct function for accessing 'rxListItemWithoutCB'. `ac4d0a1d46` refactored access to vars and it appears this is one place where `get_syntaxlocal` should have been renamed to `get_wikilocal` but was accidentally skipped.
This commit is contained in:
@ -1342,7 +1342,7 @@ endfunction
|
||||
|
||||
" Find next task (Exported)
|
||||
function! vimwiki#base#find_next_task() abort
|
||||
let taskRegex = vimwiki#vars#get_syntaxlocal('rxListItemWithoutCB')
|
||||
let taskRegex = vimwiki#vars#get_wikilocal('rxListItemWithoutCB')
|
||||
\ . '\+\(\[ \]\s\+\)\zs'
|
||||
call vimwiki#base#search_word(taskRegex, '')
|
||||
endfunction
|
||||
|
Reference in New Issue
Block a user