Skip to content

can't save file rightly #11561

Description

@ChimeWu

Summary

when I add some new lines and use :w to save my change, all the content of the buffer was deleted. I have to use "u" to recover my code.

Reproduction Steps

I add a comment
截图 2024-08-24 09-46-36
and then I use :w to save
then:
截图 2024-08-24 09-46-56

Helix log

2024-08-24T09:45:47.326 helix_lsp::transport [ERROR] rust-analyzer err <- "2024-08-24T01:45:47.326556Z ERROR project_model::workspace: cyclic deps: bevy_math(Idx::(307)) -> bevy_math(Idx::(307)), alternative path: bevy_math(Idx::(307))\n"
2024-08-24T09:45:49.106 helix_lsp::transport [ERROR] rust-analyzer err <- "2024-08-24T01:45:49.106669Z ERROR project_model::workspace: cyclic deps: bevy_math(Idx::(307)) -> bevy_math(Idx::(307)), alternative path: bevy_math(Idx::(307))\n"
2024-08-24T09:46:08.669 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(6)), original request likely timed out
2024-08-24T09:46:08.670 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(15)), original request likely timed out
2024-08-24T09:46:08.670 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(16)), original request likely timed out
2024-08-24T09:46:08.880 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(7)), original request likely timed out
2024-08-24T09:46:08.910 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(8)), original request likely timed out
2024-08-24T09:46:09.001 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(9)), original request likely timed out
2024-08-24T09:46:11.663 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(19)), original request likely timed out

Platform

Linux(fedora40)

Terminal Emulator

alacrity/zed terminal/vscode terminal/gnome terminal

Installation Method

dnf install

Helix Version

helix 24.7 (079f544)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions