Add php indentation rules

This commit is contained in:
Pavle Portic 2019-09-03 10:31:13 +02:00
parent 09829b4a3b
commit a6fe0dc925
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
1 changed files with 1 additions and 0 deletions

View File

@ -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