Skip to content
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

editor.statusline.separator not working #5913

Closed
ghost opened this issue Feb 11, 2023 · 2 comments
Closed

editor.statusline.separator not working #5913

ghost opened this issue Feb 11, 2023 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@ghost
Copy link

ghost commented Feb 11, 2023

Summary

Setting the field has no effect.

With the field set:

image

Without the field set:

image

Helix version: 22.12-249-g6929a12f
Terminal: Alacritty or Windows Terminal
Font: Hack Nerd Font or MesloLGS NF
Configuration:

theme = "github_dark"

[editor]
line-number = "relative"
true-color = true
color-modes = true

[editor.statusline]
right = ["diagnostics", "file-type"]
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
separator = ""

[editor.gutters]
layout = ["line-numbers", "diagnostics" ,"spacer" ,"diff"]

[editor.indent-guides]
render = true

[keys.normal]
esc = ["collapse_selection", "keep_primary_selection"]

Reproduction Steps

Add to config:

[editor.statusline]
separator = ""

reload config

Helix log

~/.cache/helix/helix.log
2023-02-11T01:37:33.745 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2023-02-11T01:37:45.013 helix_loader [DEBUG] Located configuration folders: ["/home/dragut/helix/.helix"]
2023-02-11T01:37:45.129 helix_view::clipboard::provider [DEBUG] No native clipboard provider found. Yanking by OSC 52 and pasting will be internal to Helix
2023-02-11T01:37:45.130 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:45.531 helix_term::application [DEBUG] received editor event: IdleTimer
2023-02-11T01:37:47.888 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.090 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.183 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.289 helix_term::application [DEBUG] received editor event: IdleTimer
2023-02-11T01:37:48.338 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.402 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.531 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.572 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:48.973 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:49.231 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:49.232 helix_term::application [DEBUG] received editor event: ConfigEvent(Refresh)
2023-02-11T01:37:49.232 helix_loader [DEBUG] Located configuration folders: ["/home/dragut/helix/.helix"]
2023-02-11T01:37:49.240 helix_view::editor [DEBUG] editor status: Config refreshed
2023-02-11T01:37:49.240 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:49.640 helix_term::application [DEBUG] received editor event: IdleTimer
2023-02-11T01:37:49.911 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:50.023 helix_term::commands::typed [DEBUG] quitting...
2023-02-11T01:37:50.023 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:50.179 helix_term::commands::typed [DEBUG] quitting...
2023-02-11T01:37:50.179 helix_view::document [DEBUG] id 1 modified - last saved: 0, current: 0
2023-02-11T01:37:50.179 helix_term::job [DEBUG] waiting on jobs...
2023-02-11T01:37:50.179 helix_term::job [DEBUG] waiting on jobs...

Platform

Linux via WSL2 on Windows 11

Terminal Emulator

Alacritty v0.11

Helix Version

22.12-249-g6929a12f

@ghost ghost added the C-bug Category: This is a bug label Feb 11, 2023
@gabydd
Copy link
Member

gabydd commented Feb 11, 2023

separator is actually an element https://docs.helix-editor.com/master/configuration.html#editorstatusline-section so you need to add it into the default left config of ["mode", "spinner", "file-name"] to see it

@ghost
Copy link
Author

ghost commented Feb 11, 2023

separator is actually an element https://docs.helix-editor.com/master/configuration.html#editorstatusline-section so you need to add it into the default left config of ["mode", "spinner", "file-name"] to see it

Ah. missed that. Thank you.

@ghost ghost closed this as completed Feb 11, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

1 participant