Fix: #913: VimwikiGoto completion aafter <CR> [in input() prompt]
Issue #913: :VimwikiGoto tab completion only works when written in-line, not when called from \wn #913 PR #785 adds completion to :VimwikiGoto, however it works only when you try to type the filename after the command, e.g.
This commit is contained in:
@ -455,7 +455,9 @@ endfunction
|
||||
" Jump to other wikifile, specified on command mode
|
||||
" Called: by command VimwikiGoto (Exported)
|
||||
function! vimwiki#base#goto(...) abort
|
||||
let key = a:0 > 0 ? a:1 : input('Enter name: ')
|
||||
let key = a:0 > 0 ? a:1 : input('Enter name: ', '',
|
||||
\ 'customlist,vimwiki#base#complete_links_escaped')
|
||||
|
||||
let anchor = a:0 > 1 ? a:2 : ''
|
||||
|
||||
" Save current file pos
|
||||
|
Reference in New Issue
Block a user