diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index f6cf0c5280..86d57d905b 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -735,7 +735,7 @@ class Reline::LineEditor not_insertion = method_symbol != :ed_insert process_insert(force: not_insertion) end - if @vi_arg + if @vi_arg and argumentable?(method_obj) method_obj.(key, arg: @vi_arg) else method_obj.(key) |