The update_in_insert and lazy_update_in_insert options, with their respective vim.b.update_in_insert and vim.b.lazy_update_in_insert counterparts, allow the user of the plugin to enable updating the context while in Insert mode.
Currently, the information returned by get_data, and it's get_location wrapper, is the same as when first entering Insert mode.
Now the context will update in insert mode, providing a fresh context with the "CursorHoldI" and "CursorMovedI" events.
The
update_in_insert
andlazy_update_in_insert
options, with their respectivevim.b.update_in_insert
andvim.b.lazy_update_in_insert
counterparts, allow the user of the plugin to enable updating the context while in Insert mode.Currently, the information returned by
get_data
, and it'sget_location
wrapper, is the same as when first entering Insert mode. Now the context will update in insert mode, providing a fresh context with the "CursorHoldI" and "CursorMovedI" events.