From 6184ca819279c7e44f470a731fcca3d469f40a01 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Mon, 18 Mar 2024 01:49:23 +0300 Subject: feat: new CMakeConfigureLast and CMakeConfigureDir commands. CMakeConfigure and CMakeConfigureDir now have vim.ui.* interface to edit --- lua/cmake-explorer/config.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/cmake-explorer/config.lua') diff --git a/lua/cmake-explorer/config.lua b/lua/cmake-explorer/config.lua index 4e1740d..b44c7cd 100644 --- a/lua/cmake-explorer/config.lua +++ b/lua/cmake-explorer/config.lua @@ -1,8 +1,9 @@ local default_config = { cmake_cmd = "cmake", - build_dir_template = "build-{buildType}", + build_dir_template = { "build", "${buildType}", sep = "-", case = nil }, + build_dir = ".", build_types = { "Debug", "Release" }, - options = { "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" }, + options = {}, } local M = vim.deepcopy(default_config) -- cgit v1.2.3