You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The indentation style of a file can be automatically detected as it should, but the indent lines only adhere to whatever is in the languages.toml-file. I think it would make more sense if the indentation lines used whatever value is detected instead of only following the pre-set value.
Example
Reproduction Steps
I tried this:
open a file in helix that uses 4 spaces of indentation, but should use 2 spaces according to languages.toml
I expected this to happen:
The indentation lines should follow the automatically detected indentation style
Instead, this happened:
The indentation lines use the default indentation style for the current language, which might not be the same value
Helix log
No response
Platform
Linux
Terminal Emulator
Alacritty
Helix Version
helix 22.12
The text was updated successfully, but these errors were encountered:
Summary
The indentation style of a file can be automatically detected as it should, but the indent lines only adhere to whatever is in the
languages.toml
-file. I think it would make more sense if the indentation lines used whatever value is detected instead of only following the pre-set value.Example
![image](https://user-images.githubusercontent.com/47303199/221856018-eddb9f16-6d38-49fb-918b-76f3fa64fe3b.png)
Reproduction Steps
I tried this:
languages.toml
I expected this to happen:
Instead, this happened:
Helix log
No response
Platform
Linux
Terminal Emulator
Alacritty
Helix Version
helix 22.12
The text was updated successfully, but these errors were encountered: