Adding stuff to vimrc to get html snips in php files
This commit is contained in:
parent
a758184c55
commit
403e9e6dc6
1 changed files with 3 additions and 1 deletions
4
vimrc
4
vimrc
|
|
@ -34,7 +34,9 @@ set mat=2
|
||||||
set ruler
|
set ruler
|
||||||
set nohls
|
set nohls
|
||||||
|
|
||||||
au BufNewFile,BufRead *.less set filetype=less
|
" so we get html goodies in php files
|
||||||
|
au BufRead *.php set ft=php.html
|
||||||
|
au BufNewFile *.php set ft=php.html
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue