From 7870d35ef1d563b13f64efd46b67629278ac70e0 Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Wed, 5 Feb 2025 16:59:13 +0200 Subject: [PATCH] fixup! refactor(ts): notify by default --- lua/gopher/comment.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/gopher/comment.lua b/lua/gopher/comment.lua index 8754405..0bb1268 100644 --- a/lua/gopher/comment.lua +++ b/lua/gopher/comment.lua @@ -9,25 +9,25 @@ local function generate(row, col) local ts_utils = require "gopher._utils.ts" local comment, ns = nil, nil - ns = ts_utils.get_package_node_at_pos(row, col, nil, false) + ns = ts_utils.get_package_node_at_pos(row, col, nil) if ns ~= nil then comment = "// Package " .. ns.name .. " provides " .. ns.name return comment, ns end - ns = ts_utils.get_struct_node_at_pos(row, col, nil, false) + ns = ts_utils.get_struct_node_at_pos(row, col, nil) if ns ~= nil then comment = "// " .. ns.name .. " " .. ns.type .. " " return comment, ns end - ns = ts_utils.get_func_method_node_at_pos(row, col, nil, false) + ns = ts_utils.get_func_method_node_at_pos(row, col, nil) if ns ~= nil then comment = "// " .. ns.name .. " " .. ns.type .. " " return comment, ns end - ns = ts_utils.get_interface_node_at_pos(row, col, nil, false) + ns = ts_utils.get_interface_node_at_pos(row, col, nil) if ns ~= nil then comment = "// " .. ns.name .. " " .. ns.type .. " " return comment, ns