From 403e9e6dc6dad2c84a72054e52c3d7ddb604b658 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Fri, 26 Aug 2011 01:16:24 -0500 Subject: [PATCH] Adding stuff to vimrc to get html snips in php files --- vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 2d9a11c..7983fd9 100644 --- a/vimrc +++ b/vimrc @@ -34,7 +34,9 @@ set mat=2 set ruler 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