Skip to content
Snippets Groups Projects
Commit 75b44aac authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Ignore UTF-8 Error (#91)

parent 86c73105
No related branches found
No related tags found
No related merge requests found
......@@ -1105,7 +1105,7 @@ class FZF
begin
unless @delim
# AWK default
prefix_length = str.index(/\S/) || 0
prefix_length = (str.index(/\S/) rescue 0)|| 0
tokens = str.scan(/\S+\s*/) rescue []
else
prefix_length = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment