aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/php
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-04-10 10:18:01 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-04-10 10:18:01 +0200
commit08d5556ab2f104cc2daff59c078c12816b8c9acc (patch)
tree2e72e8d8e555d92195ae7e1d9f34c732f5be7886 /lua/alpha/php
parent11fa125e9ed415021a2c5223e396c8f73fa05a13 (diff)
downloadnvim-conf-08d5556ab2f104cc2daff59c078c12816b8c9acc.tar.gz
nvim-conf-08d5556ab2f104cc2daff59c078c12816b8c9acc.zip
feat(general): update keymaps
Diffstat (limited to 'lua/alpha/php')
-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 = {}