From bfbee0f8257fcde1d994485ae16f3fd93ad17203 Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Mon, 27 Jun 2022 16:15:30 +0300 Subject: [PATCH] fix(gotests): print help message by `vim.notify` --- lua/gopher/gotests.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gopher/gotests.lua b/lua/gopher/gotests.lua index d7cd47c..bab3afa 100644 --- a/lua/gopher/gotests.lua +++ b/lua/gopher/gotests.lua @@ -34,7 +34,7 @@ end function M.func_test(parallel) local ns = ts_utils.get_func_method_node_at_pos(unpack(vim.api.nvim_win_get_cursor(0))) if ns == nil or ns.name == nil then - print "cursor on func/method and execute the command again" + u.notify("cursor on func/method and execute the command again", "info") return end