From 0703f679c83da5254f50b1e78af1220a3a6882a4 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Wed, 24 Apr 2024 04:06:35 +0300 Subject: fix: properly run last executable --- lua/cmake/commands.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/cmake/commands.lua') diff --git a/lua/cmake/commands.lua b/lua/cmake/commands.lua index 78e5bb8..f754b1c 100644 --- a/lua/cmake/commands.lua +++ b/lua/cmake/commands.lua @@ -26,6 +26,10 @@ M.register_commands = function() cmd("CMakeRunSelect", function() require("cmake.actions").run_tagret_select() end, { desc = "Select build option and build" }) + + cmd("CMakeToggle", function() + require("cmake.actions").toggle() + end, { desc = "Toggle CMake terminal" }) end return M -- cgit v1.2.3