Simple life, Complicated mind
Monday, March 7, 2011
Use spaces instead of tab in PHP files
Add following line to /usr/local/share/vim/vim73/syntax/php.vim
# vim /usr/local/share/vim/vim73/syntax/php.vim
set ts=2 sts=2 sw=2 expandtab
// ts: tabstop
// sts: softtabstop
// sw: shiftwidth
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment