diff --git a/ftdetect/typoscript.vim b/ftdetect/typoscript.vim index ed38b6c..99d436e 100644 --- a/ftdetect/typoscript.vim +++ b/ftdetect/typoscript.vim @@ -1,10 +1,13 @@ autocmd BufNewFile,BufRead *.ts setlocal filetype=typoscript autocmd BufNewFile,BufRead *.ts2 setlocal filetype=typoscript +autocmd BufNewFile,BufRead *.typoscript 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 */Typo[sS]cript/setup.txt setlocal filetype=typoscript -autocmd BufNewFile,BufRead */Typo[sS]cript/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 + +autocmd BufNewFile,BufRead */[tT]ypo[sS]cript/setup.txt setlocal filetype=typoscript +autocmd BufNewFile,BufRead */[tT]ypo[sS]cript/constants.txt setlocal filetype=typoscript + +autocmd BufNewFile,BufRead */[sS]tatic/setup.txt setlocal filetype=typoscript +autocmd BufNewFile,BufRead */[sS]tatic/constants.txt setlocal filetype=typoscript +