aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-11 21:13:02 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-12 13:06:48 -0400
commit61117d89a390d285c6daf16111a8c4b52f0c08a2 (patch)
tree19da883129fa707e633943d32031fb077ba72095 /src/nvim/ex_cmds.lua
parentd3bdde0bad12458128fae817aa348ac1d07b6f35 (diff)
downloadrneovim-61117d89a390d285c6daf16111a8c4b52f0c08a2.tar.gz
rneovim-61117d89a390d285c6daf16111a8c4b52f0c08a2.tar.bz2
rneovim-61117d89a390d285c6daf16111a8c4b52f0c08a2.zip
vim-patch:8.1.1838: there is :spellwrong and :spellgood but not :spellrare
Problem: There is :spellwrong and :spellgood but not :spellrare. Solution: Add :spellrare. (Martin Tournoij, closes vim/vim#4291) https://github.com/vim/vim/commit/08cc374dabd2a02785129fa1c0100f7745c244ad
Diffstat (limited to 'src/nvim/ex_cmds.lua')
-rw-r--r--src/nvim/ex_cmds.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.lua b/src/nvim/ex_cmds.lua
index d99383303b..f61f953a6e 100644
--- a/src/nvim/ex_cmds.lua
+++ b/src/nvim/ex_cmds.lua
@@ -2550,6 +2550,12 @@ module.cmds = {
func='ex_spell',
},
{
+ command='spellrare',
+ flags=bit.bor(BANG, RANGE, NEEDARG, EXTRA, TRLBAR),
+ addr_type='ADDR_OTHER',
+ func='ex_spell',
+ },
+ {
command='spelldump',
flags=bit.bor(BANG, TRLBAR),
addr_type='ADDR_NONE',