vim-syntax-typoscript/ftdetect/typoscript.vim
Felix Althaus 3046b03a69 ADD: Support for capitalization of folder generated by extension builder
TYPO3 TER extension "Extension Builder" generates folder named 'TypoScript' instead of 'Typoscript'. This capitalization should be recognized by file type detection.
2e2136c9e3/Classes/Service/FileGenerator.php (L434)
2016-04-30 21:47:59 +02:00

10 lines
769 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 */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