Summary
When editor.statusline elements are configured in the working dir's .helix/config.toml, they add to the globally-configured statusline elements. Expected is that they replace them instead.
This is a bit of a matter of user expectations, but I feel my expectation is the right one and this behavior is unintended.
Reproduction Steps
I tried this:
- Use a blank
~/.config/config.toml (or use helix' --config option) with the following content:
[editor.statusline]
right = ["file-line-ending"]
-
In the working dir, in .helix/config.toml put the same file. (or a different configuration)
-
Start helix and look at the right status line.
I expected this to happen:
The line ending marker should show only once because editor.statusline.right is overwritten in the local .helix/config.toml
Instead, this happened:
The line ending marker is shown twice.
Helix log
No response
Platform
macOS
Terminal Emulator
kitty 0.37.0
Installation Method
brew
Helix Version
25.07.1
Summary
When
editor.statuslineelements are configured in the working dir's.helix/config.toml, they add to the globally-configured statusline elements. Expected is that they replace them instead.This is a bit of a matter of user expectations, but I feel my expectation is the right one and this behavior is unintended.
Reproduction Steps
I tried this:
~/.config/config.toml(or use helix'--configoption) with the following content:In the working dir, in
.helix/config.tomlput the same file. (or a different configuration)Start helix and look at the right status line.
I expected this to happen:
The line ending marker should show only once because
editor.statusline.rightis overwritten in the local.helix/config.tomlInstead, this happened:
The line ending marker is shown twice.
Helix log
No response
Platform
macOS
Terminal Emulator
kitty 0.37.0
Installation Method
brew
Helix Version
25.07.1