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 2abe659820..928b043669 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -550,7 +550,7 @@ class Reline::LineEditor preposing, target, postposing = retrieve_completion_block list = list.select { |i| if i and not Encoding.compatible?(target.encoding, i.encoding) - raise Encoding::CompatibilityError + raise Encoding::CompatibilityError, "#{target.encoding.name} is not comaptible with #{i.encoding.name}" end if @config.completion_ignore_case i&.downcase.start_with?(target.downcase) |