Let's say I have a simple file,

echo -n "\tTABBED ONCE" > foo.rs

And then I have in my .vimrc the following,

set ts=2
call plug#begin('~/.vim/plugged')
call plug#end()

How come I open that file vim foo.rs my ts is set to 4?

I may have something else changed somewhere. I just don't know where to look. Does this happen with anyone else?

  • 3
    Duh. The same as this
    – Matt
    Jun 15, 2020 at 14:28

1 Answer 1


I needed to add this to my vimrc,

let g:rust_recommended_style=0

You can see this mentioned here and implemented here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.