close

弄了很久 查了一下資料才發現原來那麼簡單=.=

在personal_ftplugin/底下要先建一個smarty資料夾

接著在裡面新增一個smarty.xpt.vim檔案

以下是檔案的內容

XPTemplate priority=personal
XPTinclude
    \ html/html

這樣就ok了 其實就是把html的設定拿來用而已~ 接著開一個tpl副檔名的試試看 應該是ok 我想應該底層有去做smarty和tpl副檔名的對應 要不然這邊的內容完全都沒看到tpl的對應0.0

 

參考網頁

http://groups.google.com/group/xptemplate/browse_thread/thread/9af94f0e27007817#

 

arrow
arrow
    文章標籤
    vim xptemplate smarty
    全站熱搜

    卡卡 發表在 痞客邦 留言(0) 人氣()