Change failed execution notification level to error in luapopup
parent
e42005686b
commit
fb1d18ac84
|
@ -69,7 +69,7 @@ local function popup_and_run(type)
|
||||||
local function run()
|
local function run()
|
||||||
local st, r = eval_functions[type](win.bufnr)
|
local st, r = eval_functions[type](win.bufnr)
|
||||||
if st == false then
|
if st == false then
|
||||||
vim.notify("Execution failed: \n" .. r)
|
vim.notify("Execution failed: \n" .. r, vim.log.levels.ERROR)
|
||||||
else
|
else
|
||||||
vim.notify("Successfully executed operation!")
|
vim.notify("Successfully executed operation!")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue