mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 03:39:20 +09:00
nvim: new: add tree-sitter injection query for julia(md_str)
This commit is contained in:
parent
6fc88c3ad4
commit
abf2a17474
4 changed files with 16 additions and 1 deletions
7
dotfiles/neovim/after/queries/julia/injections.scm
Normal file
7
dotfiles/neovim/after/queries/julia/injections.scm
Normal file
|
@ -0,0 +1,7 @@
|
|||
;; extends
|
||||
|
||||
((prefixed_string_literal
|
||||
prefix: (identifier) @_prefix) @injection.content
|
||||
(#eq? @_prefix "md")
|
||||
(#set! injection.language "markdown")
|
||||
(#offset! @injection.content 0 2 0 -1))
|
Loading…
Add table
Add a link
Reference in a new issue