Vim: Add smartindent to aforementioned files

This commit is contained in:
Salt 2020-02-28 05:06:36 -06:00
parent bfa1a285ab
commit a5c215a224

4
.vimrc
View File

@ -70,7 +70,9 @@ au BufNewFile,BufRead *.py " Set up nice PEP8 indentation
au BufNewFile,BufRead *.html,*.php au BufNewFile,BufRead *.html,*.php
\ set tabstop=2 | \ set tabstop=2 |
\ set softtabstop=2 | \ set softtabstop=2 |
\ set shiftwidth=2 \ set shiftwidth=2 |
\ set autoindent |
\ set smartindent
" Treat PHP like HTML " Treat PHP like HTML
au BufNewFile,BufRead *.php au BufNewFile,BufRead *.php
\ set filetype=html \ set filetype=html