nvim-config/after/queries/markdown/injections.scm

8 lines
250 B
Scheme
Raw Permalink Normal View History

2024-12-12 11:48:40 +00:00
; extends
((inline) @injection.content
(#lua-match? @injection.content "^%s*import")
(#set! injection.language "typescript"))
((inline) @injection.content
(#lua-match? @injection.content "^%s*export")
(#set! injection.language "typescript"))