mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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 #4291)
This commit is contained in:
@@ -5127,7 +5127,8 @@ dozet:
|
||||
if (ptr == NULL && (len = find_ident_under_cursor(&ptr,
|
||||
FIND_IDENT)) == 0)
|
||||
return;
|
||||
spell_add_word(ptr, len, nchar == 'w' || nchar == 'W',
|
||||
spell_add_word(ptr, len, nchar == 'w' || nchar == 'W'
|
||||
? SPELL_ADD_BAD : SPELL_ADD_GOOD,
|
||||
(nchar == 'G' || nchar == 'W')
|
||||
? 0 : (int)cap->count1,
|
||||
undo);
|
||||
|
Reference in New Issue
Block a user