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.

  • Deebster
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

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