mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
fix: remove upstreamed directives
`#inject-lang!` and `#trim!`; fix `set-lang-from-mimetype`
This commit is contained in:
parent
dd6ec13268
commit
f13420ccff
7 changed files with 11 additions and 135 deletions
|
|
@ -4,14 +4,12 @@
|
|||
(heredoc
|
||||
(heredoc_body) @injection.content
|
||||
(heredoc_end) @injection.language
|
||||
(#set! injection.include-children)
|
||||
(#downcase! @injection.language))
|
||||
(#set! injection.include-children))
|
||||
|
||||
(nowdoc
|
||||
(nowdoc_body) @injection.content
|
||||
(heredoc_end) @injection.language
|
||||
(#set! injection.include-children)
|
||||
(#downcase! @injection.language))
|
||||
(#set! injection.include-children))
|
||||
|
||||
; regex
|
||||
((function_call_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue