Using ctags with HTML::Template

"Matias Alejo Garcia" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Hi all,

A small tip, that I just 'discover'. Adding:

--langdef=html_template
--langmap=html_template:.tmpl
--regex-html_template=/<tmpl_var\s+([a-zA-Z0-9_]+)>/\1/d,definition/i
--regex-html_template=/<tmpl_loop\s+([a-zA-Z0-9_]+)>/\1/d,definition/i
--regex-html_template=/<tmpl_if\s+([a-zA-Z0-9_]+)>/\1/d,definition/i

to your $HTML/.ctags file will make ctags to index HTML::Template files. I
found
that very useful when navigating our code using VIM o other editor.

regards,
matías

-- 
Matías Alejo García

NITS Argentina
    | http://www.nits.com.ar

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.