Link snippets for one file extension to another

27 views
Skip to first unread message

Martin Lundberg

unread,
Apr 18, 2011, 7:23:20 AM4/18/11
to xptem...@googlegroups.com
Hi,

I would like to .tpl files to get the HTML snippets. I've created personal/ftplugin/smarty/smarty.xpt.vim with the content

XPTemplate priority=personal
XPTinclude 
\ html/html.xpt.vim

But it does not seem to work.

-Martin

Martin Lundberg

unread,
Apr 18, 2011, 8:47:18 AM4/18/11
to xptem...@googlegroups.com
Got help in #vim on freenode. The problem was that I used the whole filepath in the XPTinclude statement. The correct code was:

XPTinclude
    \ html/html 
Reply all
Reply to author
Forward
0 new messages