@athrio/loom 0.0.12 → 0.0.13

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.
Files changed (31) hide show
  1. package/dist/LanguageLoader-DJGDopcP.js +3 -0
  2. package/dist/{LanguageLoader-BzlRnQhO.js → LanguageLoader-kZ-5Qbwr.js} +19 -11
  3. package/dist/{LanguageLoader-BzlRnQhO.js.map → LanguageLoader-kZ-5Qbwr.js.map} +1 -1
  4. package/dist/{LanguageService-BTCvgdWm.js → LanguageService-CcElIYBZ.js} +2 -2
  5. package/dist/{LanguageService-BTCvgdWm.js.map → LanguageService-CcElIYBZ.js.map} +1 -1
  6. package/dist/{LoomFormatter-Bu8L8cdR.js → LoomFormatter-D6wh-SLN.js} +11 -3
  7. package/dist/{LoomFormatter-Bu8L8cdR.js.map → LoomFormatter-D6wh-SLN.js.map} +1 -1
  8. package/dist/{LoomServer-DXIree_1.js → LoomServer-C54yIIo1.js} +28 -12
  9. package/dist/{LoomServer-DXIree_1.js.map → LoomServer-C54yIIo1.js.map} +1 -1
  10. package/dist/{LoomStore-pA-ohGNX.js → LoomStore-axDgE8RF.js} +103 -21
  11. package/dist/LoomStore-axDgE8RF.js.map +1 -0
  12. package/dist/{Runtime-XT-nb-2w.js → Runtime-Cj1Rsxs1.js} +1 -1
  13. package/dist/{Runtime-Byw6clui.js → Runtime-D4WijrpR.js} +3 -3
  14. package/dist/{Runtime-Byw6clui.js.map → Runtime-D4WijrpR.js.map} +1 -1
  15. package/dist/_virtual_tree-sitter-loom-CFLf84Ng.js +15 -0
  16. package/dist/{dist-D3YSXNOO.js → dist-LBqwqmSY.js} +2 -2
  17. package/dist/{dist-D3YSXNOO.js.map → dist-LBqwqmSY.js.map} +1 -1
  18. package/dist/main.js +224 -49
  19. package/dist/main.js.map +1 -1
  20. package/package.json +3 -1
  21. package/dist/LanguageLoader-DJZBFaqF.js +0 -3
  22. package/dist/LoomStore-pA-ohGNX.js.map +0 -1
  23. package/dist/tree-sitter-loom/editors/helix/queries/loom/highlights.scm +0 -120
  24. package/dist/tree-sitter-loom/editors/helix/queries/loom/injections.scm +0 -413
  25. package/dist/tree-sitter-loom/queries/highlights.scm +0 -120
  26. package/dist/tree-sitter-loom/queries/injections.scm +0 -85
  27. package/dist/tree-sitter-loom/src/parser.c +0 -4689
  28. package/dist/tree-sitter-loom/src/scanner.c +0 -293
  29. package/dist/tree-sitter-loom/src/tree_sitter/alloc.h +0 -54
  30. package/dist/tree-sitter-loom/src/tree_sitter/array.h +0 -330
  31. package/dist/tree-sitter-loom/src/tree_sitter/parser.h +0 -286
@@ -1,85 +0,0 @@
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"))