Aligned plugin command exec args with args, kwargs

This commit is contained in:
2026-02-24 22:39:07 -06:00
parent 608699c431
commit 6946dde0ad
5 changed files with 15 additions and 5 deletions
+3 -1
View File
@@ -47,7 +47,9 @@ class Handler:
@staticmethod
def execute(
view: any,
char_str: str
char_str: str,
*args,
**kwargs
):
logger.debug("Command: Autopairs")
autopairs.handle_word_wrap(view.get_buffer(), char_str)
+3 -1
View File
@@ -43,7 +43,9 @@ class Plugin(PluginCode):
class Handler:
@staticmethod
def execute(
view: any
view: any,
*args,
**kwargs
):
logger.debug("Command: Toggle Colorize")
+3 -1
View File
@@ -43,7 +43,9 @@ class Plugin(PluginCode):
class Handler:
@staticmethod
def execute(
view: any
view: any,
*args,
**kwargs
):
logger.debug("Command: Toggle Comment")
commenter.keyboard_tggl_comment( view.get_buffer() )
+3 -1
View File
@@ -57,7 +57,9 @@ class Plugin(PluginCode):
class Handler:
@staticmethod
def execute(
view: any
view: any,
*args,
**kwargs
):
logger.debug("Command: Markdown Preview")
+3 -1
View File
@@ -56,7 +56,9 @@ class Plugin(PluginCode):
class Handler:
@staticmethod
def execute(
view: any
view: any,
*args,
**kwargs
):
logger.debug("Command: Search/Replace")