From: Bram Moolenaar Date: Fri, 16 Aug 2019 20:42:13 +0000 (+0200) Subject: patch 8.1.1865: spellrare and spellrepall in the wrong order X-Git-Tag: v8.1.1865 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3891681f72fd9efdea6444620d787358850d823;p=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 #4820) --- diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index ff6feb60f..540b836d1 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -121,7 +121,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/ex_cmds.h b/src/ex_cmds.h index c124a1ee6..2490b5424 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -1378,9 +1378,6 @@ EXCMD(CMD_split, "split", ex_splitview, EXCMD(CMD_spellgood, "spellgood", ex_spell, EX_BANG|EX_RANGE|EX_NEEDARG|EX_EXTRA|EX_TRLBAR, ADDR_OTHER), -EXCMD(CMD_spellrare, "spellrare", ex_spell, - EX_BANG|EX_RANGE|EX_NEEDARG|EX_EXTRA|EX_TRLBAR, - ADDR_OTHER), EXCMD(CMD_spelldump, "spelldump", ex_spelldump, EX_BANG|EX_TRLBAR, ADDR_NONE), @@ -1390,6 +1387,9 @@ EXCMD(CMD_spellinfo, "spellinfo", ex_spellinfo, EXCMD(CMD_spellrepall, "spellrepall", ex_spellrepall, EX_TRLBAR, ADDR_NONE), +EXCMD(CMD_spellrare, "spellrare", ex_spell, + EX_BANG|EX_RANGE|EX_NEEDARG|EX_EXTRA|EX_TRLBAR, + ADDR_OTHER), EXCMD(CMD_spellundo, "spellundo", ex_spell, EX_BANG|EX_RANGE|EX_NEEDARG|EX_EXTRA|EX_TRLBAR, ADDR_OTHER), diff --git a/src/version.c b/src/version.c index f3de68b89..f8a907ee6 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1865, /**/ 1864, /**/