diff options
author | Riley Bruins <ribru17@hotmail.com> | 2025-01-29 15:53:34 -0800 |
---|---|---|
committer | Riley Bruins <ribru17@hotmail.com> | 2025-02-02 12:13:25 -0800 |
commit | 8543aa406c4ae88cc928372b2f8105005cdd0a80 (patch) | |
tree | afec92c5aac4ac78ace7720926075fbb34a82a86 /scripts/cdoc_parser.lua | |
parent | 9508d6a8146350ffc9f31f4263fa871bab9130bf (diff) | |
download | rneovim-8543aa406c4ae88cc928372b2f8105005cdd0a80.tar.gz rneovim-8543aa406c4ae88cc928372b2f8105005cdd0a80.tar.bz2 rneovim-8543aa406c4ae88cc928372b2f8105005cdd0a80.zip |
feat(treesitter): allow LanguageTree:is_valid() to accept a range
When given, only that range will be checked for validity rather than the
entire tree. This is used in the highlighter to save CPU cycles since we
only need to parse a certain region at a time anyway.
Diffstat (limited to 'scripts/cdoc_parser.lua')
0 files changed, 0 insertions, 0 deletions