mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
vim-patch:8.1.0199: spellbadword() does not check for caps error
Problem: spellbadword() does not check for caps error. (Dominique Pelle)
Solution: Adjust capcol when advancing.
66ab916935
This commit is contained in:
@@ -16763,6 +16763,7 @@ static void f_spellbadword(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
break;
|
||||
}
|
||||
str += len;
|
||||
capcol -= len;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user