summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter.lua
diff options
context:
space:
mode:
authorderekstride <derek.stride@shopify.com>2021-04-15 15:48:48 -0230
committerThomas Vigouroux <tomvig38@gmail.com>2021-06-04 07:47:21 +0200
commite98e2eafa29958a414e5785f58a9cbda117c1bf1 (patch)
tree78f625a1d949f82cca5f08928fcca49be361a772 /lua/nvim-treesitter.lua
parentee2266993baf909bcada06421e3b9af0114a495c (diff)
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")`
Diffstat (limited to 'lua/nvim-treesitter.lua')
0 files changed, 0 insertions, 0 deletions