codekingpro/portable-devtools
114k
1" Vim filetype plugin file2" Language: Tera3" Maintainer: Muntasir Mahmud <muntasir.joypurhat@gmail.com>4" Last Change: 2025 Mar 085" 2025 Apr 16 by Vim Project (set 'cpoptions' for line continuation, #17121)6 7if exists("b:did_ftplugin")8 finish9endif10let b:did_ftplugin = 111 12let s:cpo_save = &cpo13set cpo&vim14 15setlocal autoindent16 17setlocal commentstring={#\ %s\ #}18setlocal comments=s:{#,e:#}19 20if exists("loaded_matchit")21 let b:match_ignorecase = 022 let b:match_words = '{#:##\|#},{% *if:{% *else\>:{% *elif\>:{% *endif %},{% *for\>:{% *endfor %},{% *macro\>:{% *endmacro %},{% *block\>:{% *endblock %},{% *filter\>:{% *endfilter %},{% *set\>:{% *endset %},{% *raw\>:{% *endraw %},{% *with\>:{% *endwith %}'23endif24 25setlocal includeexpr=substitute(v:fname,'\\([^.]*\\)$','\\1','g')26setlocal suffixesadd=.tera27 28setlocal expandtab29setlocal shiftwidth=230setlocal softtabstop=231 32let b:undo_ftplugin = "setlocal autoindent< commentstring< comments< " ..33 \ "includeexpr< suffixesadd< expandtab< shiftwidth< softtabstop<"34let b:undo_ftplugin .= "|unlet! b:match_ignorecase b:match_words"35 36let &cpo = s:cpo_save37unlet s:cpo_save38 