nvim-treesitter/queries/ruby/injections.scm
derekstride e98e2eafa2 downcase! directive to use with ruby injections
```
(#downcase! "language")
```

downcase! will ensure the metadata value for the specified key will be
downcased. If the value is a node, it will downcase the text specified
by the node.

```
(#downcase! @node "key")
```

You can also namespace the key with a specific capture, similar to how
you can call `(#set! @node "key" "value")`
2021-06-04 07:47:21 +02:00

7 lines
143 B
Scheme

(comment) @comment
(heredoc_body
(heredoc_content) @content
(heredoc_end) @language
(#set! "language" @language)
(#downcase! "language"))