Nvim: minor cmake and telescope changes

This commit is contained in:
Robert Kmieć
2024-04-22 23:54:16 +02:00
parent cd711ea4bf
commit 6e13939c5b
5 changed files with 20 additions and 21 deletions

View File

@@ -18,9 +18,9 @@ return {
require("cmake-tools").setup {
cmake_command = "cmake",
ctest_command = "ctest",
ctest_command = "ctest --verbose",
cmake_generate_options = { "-DCMAKE_EXPORT_COMPILE_COMMANDS=1" },
cmake_build_options = { "-j 15" },
cmake_build_options = { "-j15" },
cmake_build_directory = "build",
cmake_soft_link_compile_commands = true, -- this will automatically make a soft link from compile commands file to project root dir
cmake_compile_commands_from_lsp = false, -- this will automatically set compile commands file location using lsp, to use it, please set `cmake_soft_link_compile_commands` to false
@@ -38,7 +38,7 @@ return {
console = "integratedTerminal",
},
cmake_executor = { -- executor to use
name = "toggleterm", -- name of the executor
name = "quickfix", -- name of the executor
opts = {}, -- the options the executor will get, possible values depend on the executor type. See `default_opts` for possible values.
default_opts = { -- a list of default and possible values for executors
quickfix = {
@@ -87,7 +87,7 @@ return {
},
},
cmake_runner = { -- runner to use
name = "toggleterm", -- name of the runner
name = "quickfix", -- name of the runner
opts = {}, -- the options the runner will get, possible values depend on the runner type. See `default_opts` for possible values.
default_opts = { -- a list of default and possible values for runners
quickfix = {
@@ -105,7 +105,7 @@ return {
overseer = {
new_task_opts = {
strategy = {
"toggleterm",
"quickfix",
direction = "horizontal",
autos_croll = true,
quit_on_exit = "success"