helix --health zig showing wrong output!
#15369
Replies: 2 comments
-
|
while i agree the health output is not super clear i think you are reading it incorrectly. for formatting files in helix there exists two options: the formatter in the having that means that you can still format while the language server is not active. for example i do not have if it doesn't exist, then helix will fall back to the language server and asks it for formatting, which zls supports in this case, which means you can still format files. this capability is not shown in the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for replying @m4rch3n1ng I do not have default which zig
which: no zig in (...)This is how I have my [language-server.zls]
command = "/usr/bin/zls-master"
config.zls.zig_exe_path = "/opt/zig-master/zig"There is no other zig for it to call so it does format automatically, so the linking is working since it must be calling |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am using Helix with Zig. I am trying to use custom ZLS and ZIG (path).
I have used https://zigtools.org/zls/editors/helix/ example as shown bellow:
First I thought ZigTools had their info wrong! So I filed an report there: zigtools/www.zigtools.org#22 but it looks like Helix health check is reporting wrongly since I can see it auto formatting on/before save.
Reproduction Steps
I tried this:
I expected this to happen:
Instead, this happened:
Helix log
This log is probably not related to the bug, but is only error I get:
~/.cache/helix/helix.log
Platform
Linux 6.19.3-2-cachyos
Terminal Emulator
Ghostty 1.2.3-arch3.1
Installation Method
Octopi 0.18.1 (default pkg manager)
Helix Version
helix 25.07.1 (8e78600a)
Beta Was this translation helpful? Give feedback.
All reactions