0

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?

1
  • 3
    Duh. The same as this
    – Matt
    Jun 15 '20 at 14:28
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, privacy policy and cookie policy

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