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 crash in tab-completion with --noautocomplete #14

Merged
merged 1 commit into from
May 30, 2023

Conversation

tompng
Copy link
Owner

@tompng tompng commented May 30, 2023

irb -r katakata_irb --noautocomplete
irb(main):001:0> 1.to_s[TAB][TAB]

#=> lib/katakata_irb/completor.rb:64:in `retrieve_completion_data': unknown keyword: :bind (ArgumentError)

Q. Why --noautocomplete is used with katakata_irb witch is a gem to provide powerful autocomplete?
A. Autocomplete is set to false by defualt in rails production

@tompng tompng merged commit 253186d into main May 30, 2023
@tompng tompng deleted the fix/crash-when-noautocomplete branch May 30, 2023 16:40
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.

1 participant