aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2024-02-05 14:39:54 +0200
committerFred Sundvik <fsundvik@gmail.com>2024-02-06 03:16:30 +0200
commita090d43d61b5de1add5624fc55e4a9dead5b7ece (patch)
tree9d7533e2d124144bbdebb4fa528b361a6c5a3705 /test/functional/lua/vim_spec.lua
parentd6483793e1c3e337e33b53452c0e0249107d099b (diff)
downloadrneovim-a090d43d61b5de1add5624fc55e4a9dead5b7ece.tar.gz
rneovim-a090d43d61b5de1add5624fc55e4a9dead5b7ece.tar.bz2
rneovim-a090d43d61b5de1add5624fc55e4a9dead5b7ece.zip
fix: splitting of big UI messages
Determine the needed buffer space first, instead of trying to revert the effect of prepare_call if message does not fit. The previous code did not revert the full state, which caused corrupted messages to be sent. So, rather than trying to fix all of that, with fragile and hard to read code as a result, the code is now much more simple, although slightly slower.
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions