Signed-off-by: Christian Brabandt <cb@256bit.org>
" Language: Tera
" Maintainer: Muntasir Mahmud <muntasir.joypurhat@gmail.com>
" Last Change: 2026 Jan 29
+" 2026 Mar 31 by Vim project: prevent code execution in filename
if exists("b:current_syntax")
finish
" Load the underlying language syntax if detected
if s:underlying_filetype != ""
- execute "runtime! syntax/" . s:underlying_filetype . ".vim"
+ execute "runtime! syntax/" . fnameescape(s:underlying_filetype) . ".vim"
unlet! b:current_syntax
else
" Default to HTML if no specific language detected