Replies: 2 comments 1 reply
-
This is not a bug. Indentation is autodetected and indentation settings only represent what helix uses for new files. hat format does depends only on what your formatter/LSP server does and is orthogonal to helix builtin indentation config |
Beta Was this translation helpful? Give feedback.
-
@pascalkuthe Ah I actually never noticed that, I tried a GUI editor as well, and they follow the same workflow. However after experimenting I am still not sure if this is a bug. I do not have any formatter enabled for HelixNova |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hi
There is a bug whereby the changes in the indent setting is not reflected unless the file is forcefully formatted.
Please see #11139 for photos
Reproduction Steps
I tried this:
hx
~/.config/helix/languages.toml
here is an example for
php
:config-reload
commandquit
via:q
and open the editor again to ensure the config has been refreshedreturn
ortab
or whatever.4
spaces!:format
command to forcefully format the file, and from now on the indentation works as expected.I expected this to happen:
:config-reload
or restartinghelix
Instead, this happened:
Helix log
~/.cache/helix/helix.log
Platform
MacOS
Terminal Emulator
xterm-256color
Installation Method
source
Helix Version
24.03-237-gfc97ecc3
Beta Was this translation helpful? Give feedback.
All reactions