tree-sitter-muttrc 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,30 @@
1
+ ((regex) @injection.content
2
+ (#set! injection.language "regex"))
3
+
4
+ ((shell) @injection.content
5
+ (#set! injection.language "bash"))
6
+
7
+ (set_directive
8
+ (command)
9
+ (option) @_option
10
+ content: (string) @injection.content
11
+ (#set! injection.language "expando")
12
+ (#match? @_option "_format$"))
13
+
14
+ (set_directive
15
+ (command)
16
+ (option) @_option
17
+ content: (string) @injection.content
18
+ (#set! injection.language "bash")
19
+ (#match? @_option "_command"))
20
+
21
+ (set_directive
22
+ (command)
23
+ (option) @_option
24
+ content: (string) @_content @injection.content
25
+ (#set! injection.language "bash")
26
+ (#eq? @_option "signature")
27
+ (#match? @_content "\\|$"))
28
+
29
+ ((comment) @injection.content
30
+ (#set! injection.language "comment"))