You're viewing a comment by PA and its responses.

August 07, 2009, 12:44

Very cool plugin.

By the way, as PHP files often mix HTML and PHP code, what would be the best way to include PHP snippets AND HTML snippets ?

Comment Responses

wohoo Permalink
July 28, 2010, 03:32

i have same problem too. How to mix PHP, HTML, and JavaScript snippets ?

Wamith Permalink
October 06, 2010, 13:15

Add the following line to your .vimrc file toget php and html snippets:

au BufRead,BufNewFile *.php set filetype=php.html

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "lcd_151": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.