This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Pasting special yanked scharacter in &str
gives Syntax error that only goes away after :lsp-restart
or undo
#6591
Labels
C-bug
Category: This is a bug
Summary
I am editing a rust file with the following code:
!Note that this is not a normal character, but a special box drawing unicode character!
When I navigate to the ═ character and
y
ank it, it will give a syntax error warning when trying top
aste it into the &str:The error goes away when I hit
u
ndo.Reproduction Steps
I tried this:
hx .
main.rs
let x = "═";
I expected this to happen:
No error because this is valid rust code (checked with rust playground and it compiles without errors)
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b3867553cbdd613001d336a0cd19e314
Instead, this happened:
I got an syntax error that only goes away when I restart the lsp server or hit
u
ndoHelix log
~/.cache/helix/helix.log
Platform
WSL2 on Windows
Terminal Emulator
Windows Terminal
Helix Version
helix 23.03
The text was updated successfully, but these errors were encountered: