aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/php/gateway.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/php/gateway.lua')
-rw-r--r--lua/alpha/php/gateway.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/alpha/php/gateway.lua b/lua/alpha/php/gateway.lua
index 614c4f2..07fad33 100644
--- a/lua/alpha/php/gateway.lua
+++ b/lua/alpha/php/gateway.lua
@@ -49,7 +49,7 @@ end
--- @param bufnr integer Buff id
gateway.get_graphql_definitions = function(bufnr)
- vim.treesitter.set_query(
+ vim.treesitter.query.set(
"yaml",
"GraphQL_endpoints",
[[
@@ -69,7 +69,7 @@ gateway.get_graphql_definitions = function(bufnr)
]]
)
- local query = vim.treesitter.get_query("yaml", "GraphQL_endpoints")
+ local query = vim.treesitter.query.get("yaml", "GraphQL_endpoints")
local elements = {}