vim setting error under BufRead

If you want to use multiple set, separate with |:

au BufRead *.py
    \ set softtabstop=4 |
    \ set shiftwidth=4

Read more :help :bar.


please use one set with space separated options:

au BufRead *.py set softtabstop=4 shiftwidth=4