mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Update injections for new elixir-lang parser
This commit is contained in:
parent
e0125a5a1c
commit
ec5341a773
1 changed files with 12 additions and 18 deletions
|
|
@ -1,20 +1,14 @@
|
|||
(comment) @comment
|
||||
(sigil
|
||||
(sigil_name) @_sigil_name
|
||||
(quoted_content) @surface
|
||||
(#eq? @_sigil_name "F"))
|
||||
|
||||
; TODO: re-add when markdown is added
|
||||
; (heredoc
|
||||
; (heredoc_content) @markdown)
|
||||
(sigil
|
||||
(sigil_name) @_sigil_name
|
||||
(quoted_content) @heex
|
||||
(#eq? @_sigil_name "H"))
|
||||
|
||||
((sigil
|
||||
(sigil_start) @_start
|
||||
(sigil_content) @regex)
|
||||
(#match? @_start "~(r|R)[/</\\\"[({|]"))
|
||||
|
||||
((sigil
|
||||
(sigil_start) @_start
|
||||
(sigil_content) @surface)
|
||||
(#eq? @_start "~F\"\"\""))
|
||||
|
||||
((sigil
|
||||
(sigil_start) @_start
|
||||
(sigil_content) @heex)
|
||||
(#eq? @_start "~H\"\"\""))
|
||||
(sigil
|
||||
(sigil_name) @_sigil_name
|
||||
(quoted_content) @zig
|
||||
(#eq? @_sigil_name "Z"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue