vim-syntax-typoscript/ftdetect/typoscript.vim
Daniel Siepmann 12b2ad4a25
Remove old legacy file type extensions
Those conflict with others like TypeScript anyway and should not be used
anymore.
typoscript and tsconfig are the official ones to use.
2022-06-13 15:07:21 +02:00

12 lines
644 B
VimL

autocmd BufNewFile,BufRead *.typoscript setlocal filetype=typoscript
autocmd BufNewFile,BufRead *.tsconfig 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 */[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