aboutsummaryrefslogtreecommitdiff
path: root/lua/cmake/config.lua
diff options
context:
space:
mode:
authorDaniil Rozanov <daniilrozzanov@gmail.com>2024-05-02 00:15:28 +0300
committerDaniil Rozanov <daniilrozzanov@gmail.com>2024-05-02 00:15:28 +0300
commit54c147c88537a682e5f926ea391c14ae31c80f82 (patch)
treee03a5befb6eb31f95f0748840386eb7eac360051 /lua/cmake/config.lua
parentebf15bdda1a1c53f4ce91681b1244e2159654ff4 (diff)
feat: new commands and some refactoring
Diffstat (limited to 'lua/cmake/config.lua')
-rw-r--r--lua/cmake/config.lua23
1 files changed, 11 insertions, 12 deletions
diff --git a/lua/cmake/config.lua b/lua/cmake/config.lua
index 9f7d04a..0cc95ca 100644
--- a/lua/cmake/config.lua
+++ b/lua/cmake/config.lua
@@ -22,25 +22,23 @@ local default_config = {
},
},
},
- parallel_jobs = nil, --#(vim.uv or vim.loop).cpu_info(),
- -- source_directory = "${workspaceFolder}", --TODO: not used
+ parallel_jobs = nil,
},
save_before_build = true,
generate_after_save = true,
- terminal = {
- direction = "horizontal",
- display_name = "CMake", --TODO: not used
+ cmake_terminal = {
+ split = "below",
+ size = 15,
close_on_exit = "success",
- hidden = false,
+ open_on_start = true,
clear_env = false,
- focus = false,
+ enter = false,
},
- runner_terminal = {
- direction = "horizontal",
- close_on_exit = false,
- hidden = false,
+ target_terminal = {
+ split = "below",
+ size = 15,
clear_env = false,
- focus = false,
+ enter = true,
},
notification = {
after = "success",
@@ -49,6 +47,7 @@ local default_config = {
short = { sep = " × ", show = true },
long = { sep = " ❄ ", show = false },
},
+ keybinds = {},
}
local M = vim.deepcopy(default_config)