Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't add Newline to end of php files in vim

  • Loading branch information...
commit a47897b83c14fc7ba6c4cb1b5cc5c7fae86eb8a8 1 parent 0f63a34
@justjkk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  .vimrc
View
2  .vimrc
@@ -99,6 +99,6 @@ set foldmethod=syntax
autocmd BufRead,BufNewFile *.sql set ft=pgsql
autocmd BufRead *.twig set ft=htmltwig
autocmd BufRead,BufNewFile *.py set foldmethod=indent ts=4 sts=4 sw=4
-autocmd BufRead,BufNewFile *.php set foldmethod=indent ts=4 sts=4 sw=4
+autocmd BufRead,BufNewFile *.php set foldmethod=indent ts=4 sts=4 sw=4 binary expandtab
autocmd BufRead * silent! %s/[\r \t]\+$//
autocmd BufEnter * :%s/[ \t\r]\+$//e
Please sign in to comment.
Something went wrong with that request. Please try again.