kak: add tera filetype

This commit is contained in:
lelgenio 2022-01-31 22:19:16 -03:00
parent 92d9dee399
commit f6a17f3726
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ hook global WinCreate .* %{
hook global BufCreate .*\.jsonc %[ set buffer filetype jsonc ]
hook global BufCreate .*\.blade.php %[ set buffer filetype blade ]
hook global BufCreate .*\.less %[ set buffer filetype less ]
hook global BufCreate .*\.tera %[
require-module jinja
add-highlighter buffer/jinja ref jinja
]
hook global WinSetOption filetype=jsonc %[
set buffer comment_line '//'