From 08d5556ab2f104cc2daff59c078c12816b8c9acc Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 10 Apr 2023 10:18:01 +0200 Subject: feat(general): update keymaps --- lua/alpha/php/gateway.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/alpha/php/gateway.lua') 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 = {} -- cgit v1.2.3