-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Byte range does not align with char boundaries: range 715..719' #3283
Comments
Can you post a minimal example file that produces this behavior? I suspect it has something to do with that "☝️" glyph in the comment |
Yes you're right, just removed the emoji and it no longer crashes. |
I added a minimal example. Seems to only affect then using typescript with svelte: <script lang="ts">
// try to delete anything here (before the emoticon)
// 👆 false parameter is required for svelte https://github.com/saadeghi/theme-change
</script>⏎ |
It looks like we hit a panic when evaluating this stanza: helix/runtime/queries/svelte/injections.scm Lines 19 to 27 in 07019c3
|
Summary
When opening a specific file in
svelte
, adding a new line, then deleting it Helix panics.Reproduction Steps
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
alacritty 0.11.0-dev (1df32309)
Helix Version
helix 22.05 (07019c3)
The text was updated successfully, but these errors were encountered: