-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helix crashes while editing yaml #7894
Comments
Is it possible for you to try with the latest master branch? I'm unable to reproduce the issue, so it might have been fixed in the meantime (by #7621 maybe?). |
Sure I will try. Somehow I didnt think about trying it. |
This is either bug in the grammar or #7227 |
sorry for the issue. Should I close it? Thanks for the responses! |
Yeah I think this was almost certainly fixed by #7227 |
Summary
I have been using Helix 23.05 for quite some time and been editing the same yamls over and over again, but today Helix just crashes as soon as I want to edit some of the yamls (not all).
I don't have the yaml-language-server installed. When I installed it today, I could actually edit the files, but only sometimes.
I could reproduce it on of my public repositories: https://github.com/kharf/flux-k8s-stack as described below.
An example where helix doesn't crash is the
catalog/keda/releases.yaml
Reproduction Steps
I tried this:
cd flux-k8s-stack
hx .
<space>f checkov.yaml
i
and try to edit the file (any other mutation also crashes)I expected this to happen:
to be able to edit the file
Instead, this happened:
helix crashes:
1 [1] 109128 segmentation fault (core dumped) hx . 2 framework: %
Helix log
~/.cache/helix/helix.log
Platform
Linux NixOS 23.05.20230807.011567f (Stoat) x86_64
Terminal Emulator
alacritty 0.12.2
Helix Version
helix 23.05 (7f5940b)
The text was updated successfully, but these errors were encountered: