You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A auto action removing unnecessary parenthesis on each value in triple tuple function return causes weird behavior like removing the wrong text etc...
If you do a write between each removal of parenthesis it works as expected. Seems like the lsp doesn't react to the file being modified live. It only reacts on a read.
Reproduction Steps
Repro steps.
Make your main file in a rust project look like this:
Summary
A auto action removing unnecessary parenthesis on each value in triple tuple function return causes weird behavior like removing the wrong text etc...
If you do a write between each removal of parenthesis it works as expected. Seems like the lsp doesn't react to the file being modified live. It only reacts on a read.
Reproduction Steps
Repro steps.
Make your main file in a rust project look like this:
hx main.rs
I expected this to happen:
It removes the parenthesis correctly.
Instead, this happened:
It will bug out and remove the wrong text
Video demonstration:
2024-03-14.09-59-51.mp4
Helix log
https://www.dropbox.com/scl/fi/7y54mt1so3vcysorm5xzt/helix.log?rlkey=pv8jnwbi9ewhy15hxr8poaerg&dl=0
Platform
Linux archlinux 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux
Terminal Emulator
konsole 24.02.0
Installation Method
pacman
Helix Version
helix 23.10
The text was updated successfully, but these errors were encountered: