From ebf15bdda1a1c53f4ce91681b1244e2159654ff4 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Fri, 26 Apr 2024 03:59:48 +0300 Subject: feat: better defaults --- lua/cmake/config.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lua/cmake/config.lua') diff --git a/lua/cmake/config.lua b/lua/cmake/config.lua index 49dbc50..9f7d04a 100644 --- a/lua/cmake/config.lua +++ b/lua/cmake/config.lua @@ -22,21 +22,21 @@ local default_config = { }, }, }, - parallel_jobs = 0, - source_directory = "${workspaceFolder}", + parallel_jobs = nil, --#(vim.uv or vim.loop).cpu_info(), + -- source_directory = "${workspaceFolder}", --TODO: not used }, save_before_build = true, generate_after_save = true, terminal = { - direction = "vertical", - display_name = "CMake", + direction = "horizontal", + display_name = "CMake", --TODO: not used close_on_exit = "success", hidden = false, clear_env = false, focus = false, }, runner_terminal = { - direction = "vertical", + direction = "horizontal", close_on_exit = false, hidden = false, clear_env = false, -- cgit v1.2.3