diff options
author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-03-18 01:49:23 +0300 |
---|---|---|
committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-03-18 01:49:23 +0300 |
commit | 6184ca819279c7e44f470a731fcca3d469f40a01 (patch) | |
tree | 4f51162ca534935c2cbbf404c08ea1c51359340b /lua/cmake-explorer/runner.lua | |
parent | d36594025727d32b6580f188a4c0476aaeecfd77 (diff) |
feat: new CMakeConfigureLast and CMakeConfigureDir commands. CMakeConfigure and CMakeConfigureDir now have vim.ui.* interface to edit
Diffstat (limited to 'lua/cmake-explorer/runner.lua')
-rw-r--r-- | lua/cmake-explorer/runner.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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), }) |