-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #7 #8
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
==========================================
+ Coverage 68.83% 69.77% +0.93%
==========================================
Files 1 1
Lines 491 493 +2
==========================================
+ Hits 338 344 +6
+ Misses 153 149 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
if endswith(path, ' ') | ||
# in order to keep type stability, we just return empty completion for this case | ||
return Completion[], 0:-1, false | ||
# return REPL.REPLCompletions.complete_path( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fonsp
I choose your option 1, because otherwise we end up looser return type (i.e. Tuple{Union{Vector{FuzzyCompletions.Completion}, Vector{REPL.REPLCompletions.Completion}}, UnitRange{Int64}, Bool}
).
If you still want to get completions for this case, can you make an additional patch on Pluto.jl side ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine without completions, thanks!
@aviatesk Can you also tag a version? |
/cc @fonsp