vim.cmd([[ autocmd BufNewFile,BufRead *.tmpl execute 'set filetype='..matchlist(expand(''), '.*\.\(.*\)\.tmpl$')[1] ]])