this post was submitted on 31 Mar 2025
3 points (100.0% liked)

Helix Editor

232 readers
1 users here now

About

Post-modern community focused on post-modern editor.

Rules

Instance rules apply here.

founded 2 years ago
MODERATORS
 

Helix is great, but please why can't indentation just be what is set in the language.toml file?

[[language]]
name = "zig"
indent = { tab-width = 8, unit = "\t" }

Changing indent-heuristic doesn't fix it. Why does helix give me the option to set the indentation style and then proceed to overwrite it, Instantly resetting it to 4 spaces instead of what I told it.

The behavior that is occurring is extremely weird and would be instantaneously solved if helix would just use the value in the file.

I don't want your garbage heuristic, I just want you to leave my file alone and do what I told you.

top 1 comments
sorted by: hot top controversial new old
[–] Deebster@programming.dev 1 points 2 months ago

I'm not sure about the exact setup (default or yours), but is it possible that there's a prettifier that's responsible?