From 2b9cb77325ced69f3691c7389b177af0fbf5f633 Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Wed, 19 Mar 2025 14:33:50 +0200 Subject: [PATCH] fix(ts): type annotations --- lua/gopher/_utils/ts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/gopher/_utils/ts.lua b/lua/gopher/_utils/ts.lua index 5815dbf..258fbc7 100644 --- a/lua/gopher/_utils/ts.lua +++ b/lua/gopher/_utils/ts.lua @@ -18,7 +18,7 @@ local queries = { ]], } ----@param parent_type [string] +---@param parent_type string[] ---@param node TSNode ---@return TSNode? local function get_parrent_node(parent_type, node) @@ -61,7 +61,7 @@ end ---@field end_line integer ---@param bufnr integer ----@param parent_type [string] +---@param parent_type string[] ---@param query string ---@return gopher.TsResult local function do_stuff(bufnr, parent_type, query)