Skip to content

Long delays in saving files in Helix and many errors in the Helix log #1232

Open
@David-Else

Description

@David-Else

Code editor

Helix

Platform

Linux

Version

5.3.3

What steps will reproduce the bug?

Often I am editing a bash file in Helix and there is a long delay when saving a file. It take 5+ seconds to save. When I look at the log it is full of errors, I will upload a selection.

Simply try to save this file caused it last, but it is intermittent and happens often when editing bash files in Helix.

#!/bin/bash
# wl-copy
# cat - l~/Downloads/texttest
ansi2html | tee ~/Downloads/texttest4.html

Could it be that I am running multiple copies of Helix with bash files? I don't know, I have not had this problem with any other language server. I have shfmt installed and maybe this is involved:

2024-11-27T15:28:27.736 helix_view::document [WARN] LSP formatting failed: request 5 timed out
2024-11-27T15:28:27.747 helix_lsp::transport [ERROR] bash-language-server err: <- IO(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })

How often does it reproduce? Is there a required condition?

Often

What is the expected behavior?

Saves instantly.

What do you see instead?

Very long delay in file saving.

Additional information

$ node --version 
v18.19.0

helix-error-bls.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions