1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-13 20:41:09 +01:00
Commit graph

6 commits

Author SHA1 Message Date
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
Renamed from plugins/languages/treesitter/injections.scm (Browse further)