Austin Horstman
993a8b4eb0
plugins/treesitter: simplify nested expressions
...
Looks like we can actually nest this inside the parenthesized_expression
to simplify a small amount.
2025-12-12 22:09:09 +00:00
Austin Horstman
a80557e142
plugins/treesitter: support let expressions with injections
2025-12-12 14:23:21 +00:00
Austin Horstman
ba8f6d40b1
plugins/treesitter: rewrite injections to handle nested
...
We now look for strings inside any function call (apply_expression)
provided the root attribute matches our allow-list (e.g.,
extraConfigLua). Added 3 level nesting support to handle multiple layers of
wrapping.
Tried breaking them up into sections with some more comments to align
with our test file.
2025-12-09 14:37:55 +00:00
Austin Horstman
3e6e23a719
plugins/treesitter: match -> any-of pattern
...
No real performance gain but might be easier to maintain / understand.
2025-12-09 14:37:55 +00:00
Austin Horstman
507d48c3ae
plugins/treesitter: update injections to handle functions
...
Handle highlighting strings that occur after a function condition.
2025-12-09 14:37:55 +00:00
Heitor Augusto
60f1c85237
plugins/treesitter: prevent mkRaw over-injection by removing injection.combined
2025-06-05 02:19:33 +00:00
Austin Horstman
65d082069e
plugins/treesitter: injections support luaConfig strings
2025-01-06 15:46:42 -06:00
Matt Sturgeon
4491ce4db2
plugins/treesitter: move to by-name
2024-09-09 11:50:39 +01:00