mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-11 12:43:28 +00:00
feat: add option for debugger configs
This commit is contained in:
parent
1eceb04db9
commit
624782e196
2 changed files with 13 additions and 3 deletions
|
@ -11,9 +11,13 @@ in {
|
|||
(mkIf cfg.enable {
|
||||
vim.startPlugins = ["nvim-dap"];
|
||||
|
||||
vim.luaConfigRC.nvim-dap =
|
||||
nvim.dag.entryAnywhere ''
|
||||
'';
|
||||
vim.luaConfigRC =
|
||||
{
|
||||
nvim-dap = nvim.dag.entryAnywhere ''
|
||||
local dap = require("dap")
|
||||
'';
|
||||
}
|
||||
// mapAttrs (_: v: (nvim.dag.entryAfter ["nvim-dap"] v)) cfg.sources;
|
||||
})
|
||||
(mkIf (cfg.enable && cfg.ui.enable) {
|
||||
vim.startPlugins = ["nvim-dap-ui"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue