diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-01 14:46:20 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-01 14:46:20 +0200 |
commit | 8eb7523802cb51984e2202d08a4fbc1a2cd803c7 (patch) | |
tree | e72fb74d077c570a1d2074bfb442c80b39c6ca9a /src/edit.c | |
parent | cbb92b5ceb6a8169b6eddceec3837aac02f21e3b (diff) |
patch 9.1.0251: Filetype test failsv9.1.0251
Problem: Filetype test fails.
Solution: Move detection by name before detection by extension.
Improve TextChanged test and remove wrong test and fix
a typo in a comment (zeertzjq).
closes: #14373
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 2f28562086..075b39bff0 100644 --- a/src/edit.c +++ b/src/edit.c @@ -847,7 +847,7 @@ doESCkey: // ins_redraw() triggers TextChangedI only when no characters // are in the typeahead buffer, so reset curbuf->b_last_changedtick only // if the TextChangedI was not blocked by char_avail() (e.g. using :norm!) - // and the TextChangeDI autocommand has been trigered + // and the TextChangedI autocommand has been triggered. if (!char_avail() && curbuf->b_last_changedtick_i == CHANGEDTICK(curbuf)) curbuf->b_last_changedtick = CHANGEDTICK(curbuf); return (c == Ctrl_O); |