diff options
-rw-r--r-- | runtime/doc/spell.txt | 2 | ||||
-rw-r--r-- | src/nvim/ex_cmds.lua | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index 3dce961c03..22d7cdf491 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -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 diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua index f61f953a6e..7b971f464f 100644 --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -2550,12 +2550,6 @@ module.cmds = { 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), addr_type='ADDR_NONE', @@ -2574,6 +2568,12 @@ module.cmds = { 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), addr_type='ADDR_OTHER', |