]> granicus.if.org Git - vim/commitdiff
patch 8.1.1865: spellrare and spellrepall in the wrong order v8.1.1865
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Aug 2019 20:42:13 +0000 (22:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Aug 2019 20:42:13 +0000 (22:42 +0200)
Problem:    Spellrare and spellrepall in the wrong order.
Solution:   Put spellrare below spellrepall. (closes #4820)

runtime/doc/spell.txt
src/ex_cmds.h
src/version.c

index ff6feb60fbd19025024efc60248d602f7a7af6cc..540b836d15324ae5a47cd5e18422e79cedcbfc3c 100644 (file)
@@ -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
index c124a1ee67cf204efd9a330a9fdbf17b05905c8d..2490b5424f7bd6d8ced96f1cc50faf03c1a7788e 100644 (file)
@@ -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),
index f3de68b89953e1d1be9a200284dcc6c42806aaa2..f8a907ee60fbe47c120e59f55a529e22da3aa478 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1865,
 /**/
     1864,
 /**/