Re: [SMARTY] vim and tpl

From: Date: Fri, 12 Dec 2003 21:16:44 +0000
Subject: Re: [SMARTY] vim and tpl
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10682@lists.php.net to get a copy of this message
On Fri, Dec 12, 2003 at 02:47:14PM -0500, Kevin Coyner wrote...... > Here are the pertinent excerpts from my .vimrc: > > autocmd FileType html,htm,php,asp,tpl source ~/.vimhtmlrc > > -------------------------- Aarrgghh, there's nothing quite as embarrassing as posting a plea for help and figuring out the answer 10 minutes later. You could just not post and pretend you still need the answer, but that would just needlessly take up the time and efforts of others. So here I am, and here's what I figured out: Vim recognizes *.tpl files as filetype 'smarty', so the line above should read: autocmd FileType html,htm,php,aspvbs,smarty source ~/.vimhtmlrc Hope this helps others. Kevin

« previous php.smarty.general (#10682) next »