Running into a strange issue with my vimrc setting where I isolated to these 2 combination of lines if I use BufRead.
e.g.
au BufRead *.py
\ set softtabstop=4
\ set shiftwidth=4
Now if I open a file with .py, I get error:
Error detected while processing BufRead Auto commands for "*.py":
E518: Unknown option: set
This only happens under au BufRead and individually each setting works but not in combination?
|
is needed when you have multiple commands,set
in this case. That's why|
is not needed right afterau BufRead *.py
part. Read more:help :bar
. – Maharajaau BufNewFile,BufRead *.py
\ set shiftwidth=4
\ set textwidth=79
\ set expandtab
\ set autoindent
– Abdominal