aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorDmytro Soltys <soap@slotos.net>2023-11-27 13:34:32 +0100
committerChristian Clason <c.clason@uni-graz.at>2023-11-27 15:53:26 +0100
commit72ed99319dd662f0e35b58e888b57f98ac3b3eec (patch)
treebab3c21a051ee815e80d3e967b513020ea479fcb /scripts/gen_vimdoc.py
parent40139738eb479d0913ec6ce751ca5adfa50ad8c3 (diff)
downloadrneovim-72ed99319dd662f0e35b58e888b57f98ac3b3eec.tar.gz
rneovim-72ed99319dd662f0e35b58e888b57f98ac3b3eec.tar.bz2
rneovim-72ed99319dd662f0e35b58e888b57f98ac3b3eec.zip
fix(treesitter): don't invalidate parser when discovering injections
When parsing with a range, languagetree looks up injections and adds them if needed. This explicitly invalidates parser, making `is_valid` report `false` both when including and excluding children. This is an attempt to describe desired behaviour of `is_valid` in tests, with what ended up being a single line change to satisfy them.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions