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

EditorConfig is not reloaded with config-reload #13268

Open
hnorkowski opened this issue Apr 4, 2025 · 0 comments
Open

EditorConfig is not reloaded with config-reload #13268

hnorkowski opened this issue Apr 4, 2025 · 0 comments
Labels
C-bug Category: This is a bug

Comments

@hnorkowski
Copy link
Contributor

Summary

Recently Support EditorConfig #13056 was merged which is awesome 🚀 Thanks for all your effort!

I noticed one miner issue with it: I cannot change the editorconfig file and reload it in Helix. It only applies the changes once restarted. It would be nice if config-reload would also reload the editorconfig.

Reproduction Steps

I tried this:

  1. hx
  2. indent something with 4 spaces
  3. change editor config for that file type to 2 spaces
  4. config-reload
  5. it is still indented with 4 spaces
  6. restart hx
  7. now it get indented with 2 spaces

I expected this to happen:

config-reload should reload the editorconfig file

Instead, this happened:

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

Alacritty

Installation Method

Arch AUR

Helix Version

helix 25.01.1 (db187c4)

@hnorkowski hnorkowski added the C-bug Category: This is a bug label Apr 4, 2025
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