changeset 17736:83a290940bd3 v8.1.1865

patch 8.1.1865: spellrare and spellrepall in the wrong order commit https://github.com/vim/vim/commit/a3891681f72fd9efdea6444620d787358850d823 Author: Bram Moolenaar <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Aug 2019 22:45:03 +0200
parents 4c661754e75b
children a1fd9ff21ec0
files runtime/doc/spell.txt src/ex_cmds.h src/version.c
diffstat 3 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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),
--- 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,