mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3517: TextChanged does not trigger after TextChangedI
Problem: TextChanged does not trigger after TextChangedI. Solution: Store the tick separately for TextChangedI. (Christian Brabandt, closes #8968, closes #8932)
This commit is contained in:
committed by
Bram Moolenaar
parent
7b5f45be21
commit
db3b44640d
@@ -327,6 +327,7 @@ open_buffer(
|
||||
// Set last_changedtick to avoid triggering a TextChanged autocommand right
|
||||
// after it was added.
|
||||
curbuf->b_last_changedtick = CHANGEDTICK(curbuf);
|
||||
curbuf->b_last_changedtick_i = CHANGEDTICK(curbuf);
|
||||
curbuf->b_last_changedtick_pum = CHANGEDTICK(curbuf);
|
||||
|
||||
// require "!" to overwrite the file, because it wasn't read completely
|
||||
|
Reference in New Issue
Block a user