mirror of https://github.com/helix-editor/helix
Add injection for markdown strings (#6489)
parent
d04288e0f3
commit
fc9229c846
|
@ -26,3 +26,9 @@
|
||||||
prefix: (identifier) @function.macro) @injection.content
|
prefix: (identifier) @function.macro) @injection.content
|
||||||
(#eq? @function.macro "re")
|
(#eq? @function.macro "re")
|
||||||
(#set! injection.language "regex"))
|
(#set! injection.language "regex"))
|
||||||
|
|
||||||
|
(
|
||||||
|
(prefixed_string_literal
|
||||||
|
prefix: (identifier) @function.macro) @injection.content
|
||||||
|
(#eq? @function.macro "md")
|
||||||
|
(#set! injection.language "markdown"))
|
||||||
|
|
Loading…
Reference in New Issue