vim setting error under BufRead

后端 未结 2 1816
忘了有多久
忘了有多久 2020-12-25 09:49

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         


        
2条回答
  •  庸人自扰
    2020-12-25 10:12

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

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

    Read more :help :bar.

提交回复
热议问题