vim-patch:8.1.1865: spellrare and spellrepall in the wrong order

Problem:    Spellrare and spellrepall in the wrong order.
Solution:   Put spellrare below spellrepall. (closes vim/vim#4820)
a3891681f7
This commit is contained in:
Jan Edmund Lazo
2021-06-11 21:29:13 -04:00
parent 61117d89a3
commit e75244af63
2 changed files with 7 additions and 7 deletions

View File

@ -110,7 +110,7 @@ zuG Undo |zW| and |zG|, remove the word from the internal
:spellw[rong]! {word} Add {word} as a wrong (bad) word to the internal word
list, like with |zW|.
*:spellr* *:spellrare*
*:spellra* *:spellrare*
:[count]spellr[are] {word}
Add {word} as a rare word to 'spellfile', similar to
|zw|. Without count the first name is used, with

View File

@ -2549,12 +2549,6 @@ module.cmds = {
addr_type='ADDR_OTHER',
func='ex_spell',
},
{
command='spellrare',
flags=bit.bor(BANG, RANGE, NEEDARG, EXTRA, TRLBAR),
addr_type='ADDR_OTHER',
func='ex_spell',
},
{
command='spelldump',
flags=bit.bor(BANG, TRLBAR),
@ -2573,6 +2567,12 @@ module.cmds = {
addr_type='ADDR_NONE',
func='ex_spellrepall',
},
{
command='spellrare',
flags=bit.bor(BANG, RANGE, NEEDARG, EXTRA, TRLBAR),
addr_type='ADDR_OTHER',
func='ex_spell',
},
{
command='spellundo',
flags=bit.bor(BANG, RANGE, NEEDARG, EXTRA, TRLBAR),