mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
fix: shim 0.9 deprecations
This commit is contained in:
parent
c7b9f68d03
commit
90ead4ed58
6 changed files with 27 additions and 8 deletions
|
|
@ -168,7 +168,7 @@ query.add_directive("downcase!", function(match, _, bufnr, pred, metadata)
|
|||
text = value
|
||||
else
|
||||
local node = match[value]
|
||||
text = query.get_node_text(node, bufnr) or ""
|
||||
text = vim.treesitter.get_node_text(node, bufnr) or ""
|
||||
end
|
||||
|
||||
if #pred == 3 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue