Add php indentation rules
This commit is contained in:
parent
09829b4a3b
commit
a6fe0dc925
|
@ -230,6 +230,7 @@ function! UserConfig()
|
|||
autocmd Filetype html,jinja.html,blade setl noet ts=2 sts=2 sw=2
|
||||
autocmd Filetype javascript,js,vue,json,jsx setl noet ts=4 sts=4 sw=4
|
||||
autocmd Filetype python setl noet ts=4 sw=4 sts=4 tw=0
|
||||
autocmd Filetype php setl et ts=4 sw=4 sts=4 tw=0
|
||||
autocmd Filetype c,cpp setl noet ts=4 sts=4 sw=4
|
||||
autocmd Filetype rst setl autoindent& cindent& smartindent& indentexpr& noet ts=3 sts=3 sw=3
|
||||
autocmd Filetype tex setl et ts=4 sts=4 sw=4
|
||||
|
|
Loading…
Reference in New Issue