-
Summarywhen 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 StepsI add a comment Helix log2024-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" PlatformLinux(fedora40) Terminal Emulatoralacrity/zed terminal/vscode terminal/gnome terminal Installation Methoddnf install Helix Versionhelix 24.7 (079f544) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is almost certainly the formatter if you have auto-format enabled. Do you have a custom formatter defined? Otherwise, you may need to change rust-analyzer versions. |
Beta Was this translation helpful? Give feedback.
You're right. I wrote "formatter = { command = "cargo", args = ["fmt"] }" in my languages.toml. I comment this line and it can work rightly.Thank you!