Skip to content

Commit

Permalink
plugins/debugprint: add missing createCommands option (nix-communit…
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO authored Dec 21, 2023
1 parent 6d72e00 commit fc94d74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/languages/debugprint.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
'';
Expand Down Expand Up @@ -96,6 +100,7 @@ in {
extraConfigLua = let
setupOptions = with cfg;
{
create_commands = createCommands;
create_keymaps = createKeymaps;
move_to_debugline = moveToDebugline;
display_counter = displayCounter;
Expand Down
1 change: 1 addition & 0 deletions tests/test-sources/plugins/languages/debugprint.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
enable = true;

createKeymaps = true;
createCommands = true;
moveToDebugline = false;
displayCounter = true;
displaySnippet = true;
Expand Down

0 comments on commit fc94d74

Please sign in to comment.