diff --git a/vimrc b/vimrc index 20d9792..c1958ba 100644 --- a/vimrc +++ b/vimrc @@ -172,7 +172,9 @@ set pastetoggle= set showmode - +" set custom syntax highlighting +autocmd BufNewFile,BufRead *.html set syntax=html_custom +autocmd BufNewFile,BufRead *.php set syntax=php_custom " fix higlight problems such as vertical-align etc