You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
703 B
Lua
31 lines
703 B
Lua
return {
|
|
"Shatur/neovim-tasks",
|
|
config = function()
|
|
local tasks = require("tasks")
|
|
local Path = require("plenary.path")
|
|
|
|
tasks.setup({
|
|
default_params = {
|
|
cmake = {
|
|
cmd = "cmake",
|
|
build_dir = tostring(Path:new("{cwd}", "build")),
|
|
build_type = "Debug",
|
|
dap_name = "lldb",
|
|
args = {
|
|
configure = { "-D", "CMAKE_EXPORT_COMPILE_COMMANDS=1" },
|
|
},
|
|
},
|
|
},
|
|
save_before_run = true,
|
|
params_file = "neovim.json",
|
|
quickfix = {
|
|
pos = "botright",
|
|
height = 12,
|
|
},
|
|
dap_open_command = function()
|
|
return require("dapiu").open()
|
|
end,
|
|
})
|
|
end,
|
|
}
|