neovim/runtime/lua/vim/treesitter
Jaehwang Jung 7fa292c52d fix(treesitter): outdated highlight due to tree with outdated region
Problem:
A region managed by an injected parser may shrink after re-running the
injection query. If the updated region goes out of the range to be
parsed, then the corresponding tree will remain outdated, possibly
retaining the nodes that shouldn't exist anymore. This results in
outdated highlights.

Solution:
Re-parse an invalid tree if its region intersects the range to be
parsed.
2023-12-24 09:47:59 +01:00
..
_fold.lua fix(treesitter): improve vim.treesitter.foldexpr 2023-12-12 02:29:59 +09:00
_meta.lua docs: document TSNode:byte_length() (#26287) 2023-11-29 08:59:36 -06:00
_query_linter.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
_range.lua feat(treesitter)!: incremental injection parsing 2023-08-12 16:11:36 +01:00
dev.lua fix: Remove nested for_each_tree in TSTreeView (#26328) 2023-11-30 10:37:42 -06:00
health.lua refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
highlighter.lua refactor(treesitter): cleanup highlighter 2023-12-20 11:55:25 +00:00
language.lua fix(treesitter): language.add - only register parser if it exists 2023-09-14 10:36:09 +01:00
languagetree.lua fix(treesitter): outdated highlight due to tree with outdated region 2023-12-24 09:47:59 +01:00
query.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00