Skip to content

Commit 943afa6

Browse files
committed
fix: validating nonexistent field commands_toggle_comment_debug_prints
I think it was supposed to check if `normal.toggle_comment_debug_prints` has the correct type, but I think due to a typo is was checking a field that doesn't exist.
1 parent 982ef9a commit 943afa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/debugprint/options.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ local validate_global_opts = function(o)
8383
textobj_above = { normal.textobj_above, STRING_NIL },
8484
delete_debug_prints = { normal.delete_debug_prints, STRING_NIL },
8585
commands_toggle_comment_debug_prints = {
86-
normal.commands_toggle_comment_debug_prints,
86+
normal.toggle_comment_debug_prints,
8787
STRING_NIL,
8888
},
8989
})

0 commit comments

Comments
 (0)