mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
fix(directive): make downcase work on captures
This commit is contained in:
parent
71532e7776
commit
b223402ba9
3 changed files with 11 additions and 31 deletions
|
|
@ -3,10 +3,3 @@
|
|||
|
||||
((regex) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
((redirected_statement
|
||||
(heredoc_redirect
|
||||
(heredoc_start) @injection.language))
|
||||
(heredoc_body) @injection.content
|
||||
(#offset! @injection.content 0 0 -1 0)
|
||||
(#downcase! @injection.language))
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@
|
|||
(heredoc_body
|
||||
(heredoc_content) @injection.content
|
||||
(heredoc_end) @injection.language
|
||||
(#set! "language" @injection.language)
|
||||
(#downcase! "language"))
|
||||
(#downcase! @injection.language))
|
||||
|
||||
(regex
|
||||
(string_content) @injection.content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue