diff --git a/plugins/languages/debugprint.nix b/plugins/languages/debugprint.nix index 09c2c396f1..085e86e9bc 100644 --- a/plugins/languages/debugprint.nix +++ b/plugins/languages/debugprint.nix @@ -15,6 +15,10 @@ in { package = helpers.mkPackageOption "debugprint.nvim" pkgs.vimPlugins.debugprint-nvim; + createCommands = helpers.defaultNullOpts.mkBool true '' + Creates default commands. + ''; + createKeymaps = helpers.defaultNullOpts.mkBool true '' Creates default keymappings. ''; @@ -96,6 +100,7 @@ in { extraConfigLua = let setupOptions = with cfg; { + create_commands = createCommands; create_keymaps = createKeymaps; move_to_debugline = moveToDebugline; display_counter = displayCounter; diff --git a/tests/test-sources/plugins/languages/debugprint.nix b/tests/test-sources/plugins/languages/debugprint.nix index 0ab62d9f61..1a255ae3ff 100644 --- a/tests/test-sources/plugins/languages/debugprint.nix +++ b/tests/test-sources/plugins/languages/debugprint.nix @@ -8,6 +8,7 @@ enable = true; createKeymaps = true; + createCommands = true; moveToDebugline = false; displayCounter = true; displaySnippet = true;