Multiple typo fixes

* This is a patch from neovim PR: https://github.com/neovim/neovim/pull/13063
This commit is contained in:
Hansraj Das 2020-10-11 13:02:40 +05:30
parent 857a9ed07b
commit 000455ee79
3 changed files with 5 additions and 5 deletions

View file

@ -1221,7 +1221,7 @@ static void ts_parser__recover(
}
}
// In the process of attemping to recover, some stack versions may have been created
// In the process of attempting to recover, some stack versions may have been created
// and subsequently halted. Remove those versions.
for (unsigned i = previous_version_count; i < ts_stack_version_count(self->stack); i++) {
if (!ts_stack_is_active(self->stack, i)) {