Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maxime Buquet
poezio
Commits
633d023a
Commit
633d023a
authored
Jun 24, 2016
by
mathieui
Browse files
Fix the alias plugin
(broken during linkmauve refactoring)
parent
db47dbbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/alias.py
View file @
633d023a
...
...
@@ -150,9 +150,9 @@ class Plugin(BasePlugin):
if
name
in
self
.
commands
:
return
dummy
elif
name
in
self
.
core
.
commands
:
return
self
.
core
.
commands
[
name
]
[
0
]
return
self
.
core
.
commands
[
name
]
.
func
elif
name
in
self
.
api
.
current_tab
().
commands
:
return
self
.
api
.
current_tab
().
commands
[
name
]
[
0
]
return
self
.
api
.
current_tab
().
commands
[
name
]
.
func
return
dummy
def
split_args
(
line
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment