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

Supermaven index fixes #18235

Closed
wants to merge 1 commit into from
Closed

Supermaven index fixes #18235

wants to merge 1 commit into from

Conversation

ConradIrwin
Copy link
Member

Supercedes: #18121

@JunkuiZhang, I think this fixes the problem by always indexing into the char arrays, but please let me know if not

Release Notes:

  • Fixed a panic in Supermaven completions with multibyte characters

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 23, 2024
@JunkuiZhang
Copy link
Contributor

Yes, your approach does seem more reasonable. However, I’m still encountering a crash during testing.

Steps to reproduce:

  • Open languages.txt, then open supermaven.
  • Delete the character "中" and then delete "u".
  • Crash.

You can look at the video I upload in #18121 to see how it should be like.

language.txt

@JunkuiZhang
Copy link
Contributor

I’m super busy recently. I’m currently participating in a competition with tight deadlines and heavy workloads, leaving me with almost no rest. So after submitting PR #18121, I haven't made any further changes. If you're okay with it, I should have plenty of time to address this issue in about two days.

@ConradIrwin
Copy link
Member Author

Superseded by #18279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants