mirror of
https://github.com/preservim/vim-wordy.git
synced 2025-11-08 18:03:48 -05:00
Support Arglead in Wordy command completion
This commit is contained in:
@@ -39,7 +39,8 @@ if !exists('g:wordy#ring')
|
||||
endif
|
||||
|
||||
function! <SID>chooseDict(ArgLead, CmdLine, CursorPos)
|
||||
return sort(wordy#flatten(g:wordy#ring))
|
||||
return filter(sort(wordy#flatten(g:wordy#ring)),
|
||||
\ "stridx(v:val,'".a:ArgLead."') == 0")
|
||||
endfunction
|
||||
|
||||
" Wordy {dict_name}
|
||||
|
||||
Reference in New Issue
Block a user