Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit a47897b83c14fc7ba6c4cb1b5cc5c7fae86eb8a8 1 parent 0f63a34
J Kishore Kumar authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  .vimrc
2  .vimrc
@@ -99,6 +99,6 @@ set foldmethod=syntax
99 99 autocmd BufRead,BufNewFile *.sql set ft=pgsql
100 100 autocmd BufRead *.twig set ft=htmltwig
101 101 autocmd BufRead,BufNewFile *.py set foldmethod=indent ts=4 sts=4 sw=4
102   -autocmd BufRead,BufNewFile *.php set foldmethod=indent ts=4 sts=4 sw=4
  102 +autocmd BufRead,BufNewFile *.php set foldmethod=indent ts=4 sts=4 sw=4 binary expandtab
103 103 autocmd BufRead * silent! %s/[\r \t]\+$//
104 104 autocmd BufEnter * :%s/[ \t\r]\+$//e

0 comments on commit a47897b

Please sign in to comment.
Something went wrong with that request. Please try again.