Change failed execution notification level to error in luapopup

main
Ensar Sarajčić 2022-05-05 21:40:04 +02:00
parent e42005686b
commit fb1d18ac84
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ local function popup_and_run(type)
local function run()
local st, r = eval_functions[type](win.bufnr)
if st == false then
vim.notify("Execution failed: \n" .. r)
vim.notify("Execution failed: \n" .. r, vim.log.levels.ERROR)
else
vim.notify("Successfully executed operation!")
end