sort the flattened ring for Wordy command

This commit is contained in:
Reed Esau
2014-08-07 10:13:14 -06:00
parent 72fd1b569e
commit 7db7399705
2 changed files with 1 additions and 4 deletions

View File

@@ -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_
Youll use the commands that follow to enable _wordy_. To disable it and

View File

@@ -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}