mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
del arg
This commit is contained in:
parent
368a13d9d6
commit
e03975780b
1 changed files with 4 additions and 4 deletions
|
@ -251,8 +251,8 @@ def load_xonsh_bindings(key_bindings):
|
|||
|
||||
if buffer.document.current_char == '\'':
|
||||
buffer.cursor_position += 1
|
||||
elif whitespace_or_bracket_before(event.cli)\
|
||||
and whitespace_or_bracket_after(event.cli):
|
||||
elif whitespace_or_bracket_before()\
|
||||
and whitespace_or_bracket_after():
|
||||
buffer.insert_text('\'')
|
||||
buffer.insert_text('\'', move_cursor=False)
|
||||
else:
|
||||
|
@ -264,8 +264,8 @@ def load_xonsh_bindings(key_bindings):
|
|||
|
||||
if buffer.document.current_char == '"':
|
||||
buffer.cursor_position += 1
|
||||
elif whitespace_or_bracket_before(event.cli)\
|
||||
and whitespace_or_bracket_after(event.cli):
|
||||
elif whitespace_or_bracket_before()\
|
||||
and whitespace_or_bracket_after():
|
||||
buffer.insert_text('"')
|
||||
buffer.insert_text('"', move_cursor=False)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue