From e75244af63cbac943c66fee37e15ecb25b73a4c1 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 11 Jun 2021 21:29:13 -0400 Subject: 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) https://github.com/vim/vim/commit/a3891681f72fd9efdea6444620d787358850d823 --- src/nvim/ex_cmds.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 @@ -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), -- cgit