@athrio/loom 0.0.11 → 0.0.12
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.
- package/LICENSE +1 -1
- package/dist/LanguageLoader-BzlRnQhO.js +5904 -0
- package/dist/LanguageLoader-BzlRnQhO.js.map +1 -0
- package/dist/LanguageLoader-DJZBFaqF.js +3 -0
- package/dist/LanguageService-BTCvgdWm.js +37 -0
- package/dist/LanguageService-BTCvgdWm.js.map +1 -0
- package/dist/LoomFormatter-Bu8L8cdR.js +9385 -0
- package/dist/LoomFormatter-Bu8L8cdR.js.map +1 -0
- package/dist/{LoomServer-mL8VcuCS.js → LoomServer-DXIree_1.js} +185 -6036
- package/dist/LoomServer-DXIree_1.js.map +1 -0
- package/dist/LoomStore-pA-ohGNX.js +163 -0
- package/dist/LoomStore-pA-ohGNX.js.map +1 -0
- package/dist/Runtime-Byw6clui.js +25 -0
- package/dist/Runtime-Byw6clui.js.map +1 -0
- package/dist/Runtime-XT-nb-2w.js +3 -0
- package/dist/{LoomStore-DTpgIJ9l.js → dist-D3YSXNOO.js} +86252 -90655
- package/dist/dist-D3YSXNOO.js.map +1 -0
- package/dist/{main-mXrU4uag.js → main-DIsWd5jt.js} +3 -429
- package/dist/main-DIsWd5jt.js.map +1 -0
- package/dist/main.js +4965 -6608
- package/dist/main.js.map +1 -1
- package/dist/tree-sitter-loom/editors/helix/queries/loom/highlights.scm +120 -0
- package/dist/tree-sitter-loom/editors/helix/queries/loom/injections.scm +413 -0
- package/dist/tree-sitter-loom/queries/highlights.scm +120 -0
- package/dist/tree-sitter-loom/queries/injections.scm +85 -0
- package/dist/tree-sitter-loom/src/parser.c +4689 -0
- package/dist/tree-sitter-loom/src/scanner.c +293 -0
- package/dist/tree-sitter-loom/src/tree_sitter/alloc.h +54 -0
- package/dist/tree-sitter-loom/src/tree_sitter/array.h +330 -0
- package/dist/tree-sitter-loom/src/tree_sitter/parser.h +286 -0
- package/dist/umd-BiUxa7B7.js +432 -0
- package/dist/umd-BiUxa7B7.js.map +1 -0
- package/dist/{volar-service-markdown-C0HvK7Au.js → volar-service-markdown-DeNtSNeO.js} +3 -2
- package/dist/{volar-service-markdown-C0HvK7Au.js.map → volar-service-markdown-DeNtSNeO.js.map} +1 -1
- package/package.json +4 -3
- package/dist/LoomServer-mL8VcuCS.js.map +0 -1
- package/dist/LoomStore-DTpgIJ9l.js.map +0 -1
- package/dist/main-mXrU4uag.js.map +0 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
((preamble) @injection.content
|
|
2
|
+
(#set! injection.language "markdown"))
|
|
3
|
+
|
|
4
|
+
((prose) @injection.content
|
|
5
|
+
(#set! injection.language "markdown"))
|
|
6
|
+
|
|
7
|
+
((toc) @injection.content
|
|
8
|
+
(#set! injection.language "markdown")
|
|
9
|
+
(#set! injection.include-children))
|
|
10
|
+
|
|
11
|
+
(section
|
|
12
|
+
(heading
|
|
13
|
+
specifier: (specifier
|
|
14
|
+
label: (label) @injection.language))
|
|
15
|
+
(code) @injection.content
|
|
16
|
+
(#not-eq? @injection.language "Tangle")
|
|
17
|
+
(#not-eq? @injection.language "tangle")
|
|
18
|
+
(#not-eq? @injection.language "Prose")
|
|
19
|
+
(#not-eq? @injection.language "prose"))
|
|
20
|
+
|
|
21
|
+
(section
|
|
22
|
+
(heading
|
|
23
|
+
!specifier
|
|
24
|
+
sink: (sink
|
|
25
|
+
file: (file) @injection.filename))
|
|
26
|
+
(code) @injection.content)
|
|
27
|
+
|
|
28
|
+
(section
|
|
29
|
+
(heading
|
|
30
|
+
specifier: (specifier
|
|
31
|
+
label: (label) @_tangle)
|
|
32
|
+
sink: (sink
|
|
33
|
+
file: (file) @injection.filename))
|
|
34
|
+
(code) @injection.content
|
|
35
|
+
(#any-of? @_tangle "Tangle" "tangle"))
|
|
36
|
+
|
|
37
|
+
(document
|
|
38
|
+
(frontmatter
|
|
39
|
+
(field
|
|
40
|
+
key: (key) @_key
|
|
41
|
+
value: (value) @injection.filename))
|
|
42
|
+
(section
|
|
43
|
+
(heading
|
|
44
|
+
specifier: (specifier
|
|
45
|
+
label: (label) @_tangle)
|
|
46
|
+
!sink)
|
|
47
|
+
(code) @injection.content)
|
|
48
|
+
(#eq? @_key "Package")
|
|
49
|
+
(#any-of? @_tangle "Tangle" "tangle"))
|
|
50
|
+
|
|
51
|
+
(document
|
|
52
|
+
(frontmatter
|
|
53
|
+
(field
|
|
54
|
+
key: (key) @_key
|
|
55
|
+
value: (value) @injection.language))
|
|
56
|
+
(section
|
|
57
|
+
(heading
|
|
58
|
+
!specifier
|
|
59
|
+
!sink)
|
|
60
|
+
(code) @injection.content)
|
|
61
|
+
(#eq? @_key "Language")
|
|
62
|
+
(#not-eq? @injection.language "Prose")
|
|
63
|
+
(#not-eq? @injection.language "prose"))
|
|
64
|
+
|
|
65
|
+
((section
|
|
66
|
+
(heading
|
|
67
|
+
specifier: (specifier
|
|
68
|
+
label: (label) @_language))
|
|
69
|
+
(code) @injection.content)
|
|
70
|
+
(#any-of? @_language "Prose" "prose")
|
|
71
|
+
(#set! injection.language "markdown"))
|
|
72
|
+
|
|
73
|
+
((document
|
|
74
|
+
(frontmatter
|
|
75
|
+
(field
|
|
76
|
+
key: (key) @_key
|
|
77
|
+
value: (value) @_language))
|
|
78
|
+
(section
|
|
79
|
+
(heading
|
|
80
|
+
!specifier
|
|
81
|
+
!sink)
|
|
82
|
+
(code) @injection.content))
|
|
83
|
+
(#eq? @_key "Language")
|
|
84
|
+
(#any-of? @_language "Prose" "prose")
|
|
85
|
+
(#set! injection.language "markdown"))
|