diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-16 22:42:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-16 22:42:13 +0200 |
commit | a3891681f72fd9efdea6444620d787358850d823 (patch) | |
tree | b38a488d9f32a0e51d9b5fa4f4fb24697e1020f9 | |
parent | 413c04e8d515f604a17b90295c86a0fd547518ba (diff) | |
download | vim-git-a3891681f72fd9efdea6444620d787358850d823.tar.gz |
patch 8.1.1865: spellrare and spellrepall in the wrong orderv8.1.1865
Problem: Spellrare and spellrepall in the wrong order.
Solution: Put spellrare below spellrepall. (closes #4820)
-rw-r--r-- | runtime/doc/spell.txt | 2 | ||||
-rw-r--r-- | src/ex_cmds.h | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 4 deletions
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 @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1865, +/**/ 1864, /**/ 1863, |