Thomas Vigouroux
e4b5efa51e
fix: use luahl in treesitter
2020-09-13 07:46:39 +02:00
Thomas Vigouroux
cf0e1bc1fe
wip trying to fix the highlighter
2020-09-09 21:22:21 +02:00
Björn Linse
9437327d5e
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.
2020-09-09 21:22:21 +02:00
Thomas Vigouroux
1ff064126d
treesitter: revert wrong optimization in highlights
2020-09-09 16:00:19 +02:00
kiyan42
7e0c4e5329
apply bfredl suggestion
2020-09-06 15:32:24 +02:00
kiyan42
981f3f17a0
treesitter: check hl group exists before passing it in nvim_get_hl_id_by_name
2020-09-05 21:43:40 +02:00
Thomas Vigouroux
1832d18083
treesitter: update to use buf_set_extmark
2020-09-03 15:40:31 +02:00
Thomas Vigouroux
18c0e77528
treesitter(docs): update and refresh docs
2020-08-13 20:30:15 +02:00
Thomas Vigouroux
613068071e
treesitter: refactor and use lua regexes
2020-08-13 20:30:15 +02:00