mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-13 07:31:02 +00:00
nvim-dap-ui: add setupOpts
This commit is contained in:
parent
12ed05bcfb
commit
eb95f77e75
2 changed files with 5 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ in {
|
|||
lazy.plugins.nvim-dap-ui = {
|
||||
package = "nvim-dap-ui";
|
||||
setupModule = "dapui";
|
||||
setupOpts = {};
|
||||
inherit (cfg.ui) setupOpts;
|
||||
|
||||
keys = [
|
||||
(mkSetLuaLznBinding mappings.toggleDapUI "function() require('dapui').toggle() end")
|
||||
|
|
|
|||
|
|
@ -2,12 +2,16 @@
|
|||
inherit (lib.options) mkEnableOption mkOption;
|
||||
inherit (lib.types) bool attrsOf str;
|
||||
inherit (lib.nvim.binds) mkMappingOption;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
in {
|
||||
options.vim.debugger.nvim-dap = {
|
||||
enable = mkEnableOption "debugging via nvim-dap";
|
||||
|
||||
ui = {
|
||||
enable = mkEnableOption "UI extension for nvim-dap";
|
||||
|
||||
setupOpts = mkPluginSetupOption "nvim-dap-ui" {};
|
||||
|
||||
autoStart = mkOption {
|
||||
type = bool;
|
||||
default = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue