Aligned plugin command exec args with args, kwargs
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -43,7 +43,9 @@ class Plugin(PluginCode):
|
||||
class Handler:
|
||||
@staticmethod
|
||||
def execute(
|
||||
view: any
|
||||
view: any,
|
||||
*args,
|
||||
**kwargs
|
||||
):
|
||||
logger.debug("Command: Toggle Colorize")
|
||||
|
||||
|
||||
@@ -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() )
|
||||
@@ -57,7 +57,9 @@ class Plugin(PluginCode):
|
||||
class Handler:
|
||||
@staticmethod
|
||||
def execute(
|
||||
view: any
|
||||
view: any,
|
||||
*args,
|
||||
**kwargs
|
||||
):
|
||||
logger.debug("Command: Markdown Preview")
|
||||
|
||||
|
||||
@@ -56,7 +56,9 @@ class Plugin(PluginCode):
|
||||
class Handler:
|
||||
@staticmethod
|
||||
def execute(
|
||||
view: any
|
||||
view: any,
|
||||
*args,
|
||||
**kwargs
|
||||
):
|
||||
logger.debug("Command: Search/Replace")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user