1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
return {
"Zeioth/compiler.nvim",
dependencies = {
{
"stevearc/overseer.nvim",
opts = {
task_list = { -- this refers to the window that shows the result
direction = "bottom",
min_height = 25,
max_height = 25,
default_detail = 1,
bindings = {["q"] = function()
vim.cmd("OverseerClose")
end}
}
},
config = function(_, opts)
require("overseer").setup(opts)
end
}
},
cmd = {"CompilerOpen", "CompilerToggleResults"},
opts = {},
keys = {
{"mt", "<cmd>CompilerOpen<cr>", desc = "[M]ake [T]arget"},
{"mr", "<cmd>CompilerToggleResults<cr>", desc = "[M]ake [R]esults"}
}
}
|