File tree 4 files changed +21
-1
lines changed
4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -1998,3 +1998,12 @@ grammar = "qmljs"
1998
1998
[[grammar ]]
1999
1999
name = " qmljs"
2000
2000
source = { git = " https://github.com/yuja/tree-sitter-qmljs" , rev = " 0b2b25bcaa7d4925d5f0dda16f6a99c588a437f1" }
2001
+
2002
+ [[language ]]
2003
+ name = " elixir-markdown"
2004
+ scope = " text.markdown.elixir"
2005
+ injection-regex = " exmd|elixir-markdown"
2006
+ file-types = []
2007
+ roots = []
2008
+ indent = { tab-width = 2 , unit = " " }
2009
+ grammar = " markdown"
Original file line number Diff line number Diff line change
1
+ ; inherits: markdown
Original file line number Diff line number Diff line change
1
+ ((indented_code_block) @injection.content
2
+ (#match? @injection.content "^\\s*iex")
3
+ (#set! injection.include-children)
4
+ (#set! injection.language "iex"))
5
+
6
+ ((indented_code_block) @injection.content
7
+ (#set! injection.include-children)
8
+ (#set! injection.language "elixir"))
9
+
10
+ ; inherits: markdown
Original file line number Diff line number Diff line change 18
18
(arguments [
19
19
(string (quoted_content) @injection.content )
20
20
(sigil (quoted_content) @injection.content )
21
- ])) (#set! injection.language "markdown"))
21
+ ])) (#set! injection.language "elixir- markdown"))
22
22
23
23
; Zigler Sigils
24
24
((sigil
You can’t perform that action at this time.
0 commit comments