mirror of
https://github.com/preservim/vim-wordy.git
synced 2025-11-13 12:23:47 -05:00
sort the flattened ring for Wordy command
This commit is contained in:
@@ -116,9 +116,6 @@ specified in your ring with:
|
||||
:Wordy <tab>
|
||||
```
|
||||
|
||||
Note that the order of dictionaries in your ring is preserved, so you
|
||||
can place your most-frequently-used ones at the start of the list.
|
||||
|
||||
## Using _wordy_
|
||||
|
||||
You’ll use the commands that follow to enable _wordy_. To disable it and
|
||||
|
||||
@@ -39,7 +39,7 @@ if !exists('g:wordy#ring')
|
||||
endif
|
||||
|
||||
function! <SID>chooseDict(ArgLead, CmdLine, CursorPos)
|
||||
return wordy#flatten(g:wordy#ring)
|
||||
return sort(wordy#flatten(g:wordy#ring))
|
||||
endfunction
|
||||
|
||||
" Wordy {dict_name}
|
||||
|
||||
Reference in New Issue
Block a user