fix(gotests): print help message by vim.notify
This commit is contained in:
parent
ebb3894b3b
commit
bfbee0f825
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ end
|
||||||
function M.func_test(parallel)
|
function M.func_test(parallel)
|
||||||
local ns = ts_utils.get_func_method_node_at_pos(unpack(vim.api.nvim_win_get_cursor(0)))
|
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
|
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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue