From 6184ca819279c7e44f470a731fcca3d469f40a01 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Mon, 18 Mar 2024 01:49:23 +0300 Subject: feat: new CMakeConfigureLast and CMakeConfigureDir commands. CMakeConfigure and CMakeConfigureDir now have vim.ui.* interface to edit --- lua/cmake-explorer/runner.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua/cmake-explorer/runner.lua') diff --git a/lua/cmake-explorer/runner.lua b/lua/cmake-explorer/runner.lua index f9c3d84..ca596ac 100644 --- a/lua/cmake-explorer/runner.lua +++ b/lua/cmake-explorer/runner.lua @@ -20,6 +20,11 @@ function M.start(command) on_exit = vim.schedule_wrap(function(_, code, signal) if code == 0 and signal == 0 and command.after_success then command.after_success() + else + vim.notify( + "Code " .. tostring(code) .. ": " .. command.cmd .. " " .. table.concat(command.args, " "), + vim.log.levels.ERROR + ) end end), }) -- cgit v1.2.3