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

Helix Editor

204 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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here