cmake-tools.nvim
cmake-tools.nvim copied to clipboard
Toggleterm executor opens new tab instead of rewriting existing one
My config is
return {
"Civitasv/cmake-tools.nvim",
config = function()
require("cmake-tools").setup {
cmake_executor = {
name = "toggleterm",
opts = {
direction = "tab", -- 'vertical' | 'horizontal' | 'tab' | 'float'
close_on_exit = false, -- whether close the terminal when exit
auto_scroll = true, -- whether auto scroll to the bottom
},
},
}
end,
}
If i rerun CMakeGenerate
, it creates new tab. I am not sure this is optimal behaviour. Can it just clear existing one and write cmake output into it.
Following is more feature request, than bug, but it seems logical to have one toggleterm output per each preset\variant\profile.