aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/ui.c
diff options
context:
space:
mode:
authorJason Felice <jason.m.felice@gmail.com>2018-08-08 16:11:32 -0700
committerJason Felice <jason.m.felice@gmail.com>2018-08-09 16:46:50 -0700
commit3c41df269173b68aa5572df8c5b7cae408229b88 (patch)
tree6c7473dceec58693dee6923708fc7da929ba106c /src/nvim/api/ui.c
parentd45efa5793e8b60192cc5b1f80d112d0401b14d3 (diff)
downloadrneovim-3c41df269173b68aa5572df8c5b7cae408229b88.tar.gz
rneovim-3c41df269173b68aa5572df8c5b7cae408229b88.tar.bz2
rneovim-3c41df269173b68aa5572df8c5b7cae408229b88.zip
vim-patch:8.1.0256: using setline() in TextChangedI splits undo
Problem: Using setline() in TextChangedI splits undo. Solution: Use another solution for undo not working properly. https://github.com/vim/vim/commit/9fa9506853516c82851baec643aa47458cb8b3bc This deviates from Vim in the handling of the CursorHoldI event. In Vim, any buffer changes are merged into the insert. In Neovim, CursorHoldI is handled via the multiqueue, and the point at which the cursor hold is implemented (in input.c) doesn't know enough about it. Making all queued events merge into the insert seems more wronger since changes by other asynchronous events really should be separately undoable.
Diffstat (limited to 'src/nvim/api/ui.c')
0 files changed, 0 insertions, 0 deletions