mirror of
https://github.com/neovim/neovim.git
synced 2024-12-28 14:31:13 -07:00
1b09bcef52
fix(treesitter): redraw added/removed injections properly
When injections are added or removed make sure to:
- invoke 'changedtree' callbacks for when new trees are added.
- invoke 'changedtree' callbacks for when trees are invalidated
- redraw regions when languagetree children are removed
(cherry picked from commit
|
||
---|---|---|
.. | ||
highlight_spec.lua | ||
language_spec.lua | ||
node_spec.lua | ||
parser_spec.lua | ||
utils_spec.lua |