# HG changeset patch # User Bram Moolenaar # Date 1565988303 -7200 # Node ID 83a290940bd34e40927c64b0964af2611e48da26 # Parent 4c661754e75bfb9dd2a4f8e0e6639f6a303021a9 patch 8.1.1865: spellrare and spellrepall in the wrong order commit https://github.com/vim/vim/commit/a3891681f72fd9efdea6444620d787358850d823 Author: Bram Moolenaar Date: Fri Aug 16 22:42:13 2019 +0200 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 https://github.com/vim/vim/issues/4820) diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -121,7 +121,7 @@ zuG Undo |zW| and |zG|, remove the wor :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 --- 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_spe 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 --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1865, +/**/ 1864, /**/ 1863,