From 3046b03a69ae80cc91ca17d4d99848dd85abd79a Mon Sep 17 00:00:00 2001 From: Felix Althaus Date: Sat, 30 Apr 2016 21:47:59 +0200 Subject: [PATCH] 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. https://github.com/TYPO3-extensions/extension_builder/blob/2e2136c9e3c6d657e89c3d25cd14e3a07d808685/Classes/Service/FileGenerator.php#L434 --- ftdetect/typoscript.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftdetect/typoscript.vim b/ftdetect/typoscript.vim index 7b63165..ed38b6c 100644 --- a/ftdetect/typoscript.vim +++ b/ftdetect/typoscript.vim @@ -2,8 +2,8 @@ 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 */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