Skip to content
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

Merged
merged 1 commit into from
Mar 16, 2021
Merged

fix #7 #8

merged 1 commit into from
Mar 16, 2021

Conversation

aviatesk
Copy link
Member

/cc @fonsp

@codecov-io
Copy link

codecov-io commented Mar 15, 2021

Codecov Report

Merging #8 (aca8c20) into master (4f2cd37) will increase coverage by 0.93%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            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     
Flag Coverage Δ
unittests 69.77% <50.00%> (+0.93%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/FuzzyCompletions.jl 69.77% <50.00%> (+0.93%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f2cd37...aca8c20. Read the comment docs.

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(
Copy link
Member Author

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 ?

Copy link
Contributor

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!

@fonsp
Copy link
Contributor

fonsp commented Mar 16, 2021

@aviatesk Can you also tag a version?

@aviatesk
Copy link
Member Author

@aviatesk Can you also tag a version?

Of course, I will tag a patch version.

Thanks for double checking, @pfitzseb :)

@aviatesk aviatesk merged commit 2ce76a7 into master Mar 16, 2021
@aviatesk aviatesk deleted the fix7 branch March 16, 2021 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants