Migrated comment.go to new approach (three API calls)
This commit is contained in:
@@ -56,8 +56,6 @@ M.confirm_create_comment = function(text)
|
||||
end
|
||||
end
|
||||
|
||||
print(relative_file_path)
|
||||
|
||||
Job:new({
|
||||
command = state.BIN,
|
||||
args = {
|
||||
|
||||
@@ -153,15 +153,17 @@ local function darken_metadata(bufnr, regex)
|
||||
end
|
||||
|
||||
local function print_success(_, line)
|
||||
if line ~= nil and line ~= "" then
|
||||
notify(line, "info")
|
||||
end
|
||||
print(line)
|
||||
-- if line ~= nil and line ~= "" then
|
||||
-- notify(line, "info")
|
||||
-- end
|
||||
end
|
||||
|
||||
local function print_error(_, line)
|
||||
if line ~= nil and line ~= "" then
|
||||
notify(line, "error")
|
||||
end
|
||||
print(line)
|
||||
-- if line ~= nil and line ~= "" then
|
||||
-- notify(line, "error")
|
||||
-- end
|
||||
end
|
||||
|
||||
local function exit(popup)
|
||||
|
||||
Reference in New Issue
Block a user