vim-syntax-typoscript/ftdetect/typoscript.vim

10 lines
763 B
VimL

autocmd BufNewFile,BufRead *.ts setlocal filetype=typoscript
autocmd BufNewFile,BufRead *.ts2 setlocal filetype=typoscript
autocmd BufNewFile,BufRead */ext_typoscript_setup.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */ext_typoscript_constants.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */Typoscript/setup.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */Typoscript/constants.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */static/setup.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */static/constants.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */Static/setup.txt setlocal filetype=typoscript
autocmd BufNewFile,BufRead */Static/constants.txt setlocal filetype=typoscript