aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/buffer_updates_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-03-21 19:55:19 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2020-09-09 21:22:21 +0200
commit9437327d5ee627ddb15bfbc88112bd77e4e3ffcf (patch)
treebddcf9e744db25241f51cb2fe8e7e26c53e5a552 /test/functional/lua/buffer_updates_spec.lua
parentbc86f76c0a1d3234b749a105c9aae65f84c51320 (diff)
downloadrneovim-9437327d5ee627ddb15bfbc88112bd77e4e3ffcf.tar.gz
rneovim-9437327d5ee627ddb15bfbc88112bd77e4e3ffcf.tar.bz2
rneovim-9437327d5ee627ddb15bfbc88112bd77e4e3ffcf.zip
treesitter: use new on_bytes interface
This will significantly reduce the parsing work needed e.g. when rehighlighting after every keypress in insert mode. Also add safety check for tree-sitter trying to read past the end of a line. This can happen after we sent an incorrect buffer update.
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
0 files changed, 0 insertions, 0 deletions