This seems like a bizarre behavior to me. I've set the textwidth
to 88, but I've noticed that, when editing a .rs
file, something sets it to 99. At first I though it must be some plugin or formatting setting, however, this behavior persists when using the --clean
flag.
I first noticed this in Neovim, but after some testing it seems like it also happens in Vim, which is weirder, since I don't even have any rust-related vim plugins installed.
I also tested files corresponding to other programming languages and this doesn't seem to happen with them (I tried .py
and .lua
files).
Does anyone know what is producing this behavior and how I can make my choice of textwidth
be applied to .rs
files?