1
0
Fork 0
mirror of https://github.com/pnx/tree-sitter-dotenv synced 2026-08-17 13:38:12 +02:00
Commit graph

7 commits

Author SHA1 Message Date
0cc23a517e feat: make export keyword anonymous.
"export" was a named node despite always having fixed spelling, with
no variation to expose to queries. Anonymous string literals are
already fully queryable ("export" @keyword), so the named production
added a redundant node in the tree for no benefit.

Keeps the alias("export", $.identifier) in the key field, since that
usage is a genuine reclassification (export as an identifier, not the
keyword) and still needs to be named.

Updated corpus tests to use :cst format where "export" and "="
presence needs to be asserted explicitly.
2026-07-16 10:47:32 +02:00
b109061d77 add support for export keyword 2026-07-14 20:41:22 +02:00
474c93be0f style: format highlights query 2026-07-06 14:40:10 +02:00
bed97e448a queries/highlights.scm: minor style fixes 2026-04-14 22:52:33 +02:00
d403ce05d8 queries/highlights.scm: format 2026-02-08 09:43:52 +01:00
Fery Wardiyanto
76dc8830e2 highlight: fix missing comment highlight
Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
2025-01-26 22:51:47 +07:00
c7013c130e adding highlights 2024-12-12 19:41:14 +01:00