Re: Vim syntax highlighting

From: Date: Thu, 21 Mar 2002 05:31:00 +0000
Subject: Re: Vim syntax highlighting
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3163@lists.php.net to get a copy of this message
Try adding this to your .vimrc file au BufRead *.tpl,<&faf;HTML> so $VIMRUNTIME/syntax/html.vim On Wed, Mar 20, 2002 at 06:10:01PM -0800, Steve wrote: > I use vim and the way I work around not having a highlighting file for > Smarty templates is to just name my templates *.php instead of .tpl. The > only part that isn't parsed and highlighted are the smarty code elements, > which are just grey - so they are rather easy to see. > > Now, this is not a real highlighting file, which would be very nice - if > anyone out there knows how to make one. > > Steve > > -----Original Message----- > From: Andrei Zmievski [mailto:andrei@ispi.net] > Sent: Wednesday, March 20, 2002 5:46 PM > To: smarty@lists.ispi.net > Cc: smarty@lists.ispi.net > Subject: [smarty] Re: Vim syntax highlighting > > > At 02:02 PM 3/12/02 -0600, Monte Ohrt wrote: > >Andrei might have one, he uses vim. He won't be reading his e-mail until > >next week though. > > Nope, I've never made the syntax highlighting file for Smarty in vim. > > -Andrei > > > --- > You are currently subscribed to smarty as: lists@iwsys.com > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ > > > --- > You are currently subscribed to smarty as: sheldon@hobbydump.com > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at O…+¤O Íäì¸ > ”http://www.phpinsider.com/php/code/Smarty/ -- --Sheldon ------------------------------------------------------ Sheldon Jones Systems Administrator Lobo Internet Services, Ltd. mailto:sheldon@hobbydump.com Does Microsoft mean "small and limp"? What's with the 'Intel Inside' warning label anyway? ------------------------------------------------------

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