runtime/ftplugin/swig.vim @jmarrec
runtime/ftplugin/tap.vim @petdance
runtime/ftplugin/tcsh.vim @dkearns
+runtime/ftplugin/tera.vim @MuntasirSZN
runtime/ftplugin/terraform.vim @JannoTjarks
runtime/ftplugin/tf.vim @ribru17
runtime/ftplugin/thrift.vim @jiangyinzuo
" Vim support file to detect file types
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Mar 05
+" Last Change: 2025 Mar 06
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Listen very carefully, I will say this only once
" Terminfo
au BufNewFile,BufRead *.ti setf terminfo
+" Tera
+au BufRead,BufNewFile *.tera setf tera
+
" Terraform variables
au BufRead,BufNewFile *.tfvars setf terraform-vars
--- /dev/null
+" Vim filetype plugin file
+" Language: Tera
+" Maintainer: Muntasir Mahmud <muntasir.joypurhat@gmail.com>
+" Last Change: 2025 Mar 06
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal commentstring={#\ %s\ #}
+
+let b:undo_ftplugin = "setlocal commentstring<"
teal: ['file.tl'],
templ: ['file.templ'],
template: ['file.tmpl'],
+ tera: ['file.tera'],
teraterm: ['file.ttl'],
terminfo: ['file.ti'],
'terraform-vars': ['file.tfvars'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1177,
/**/
1176,
/**/