Skip to content

Commit f7bfd99

Browse files
committed
improvement: use vim notify
1 parent 39498ea commit f7bfd99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/khalorg.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ end
2626
-- Print the output of a successful export.
2727
--@param output string[]
2828
local function export_success(output)
29-
print("Khalorg export successful")
29+
vim.notify("Khalorg export successful")
3030
vim.api.nvim_echo({ { table.concat(output, "\n") } }, true, {})
3131
end
3232

3333
-- Print the error message of a failed export.
3434
--@param err string[]
3535
local function export_error(err)
36-
print("Khalorg export failed")
36+
vim.notify("Khalorg export failed")
3737
vim.api.nvim_echo({ { table.concat(err, "\n"), "ErrorMsg" } }, true, {})
3838
end
3939

0 commit comments

Comments
 (0)