From 843e066223f11f4a607b9ad14ac1d38a9bfe194d Mon Sep 17 00:00:00 2001 From: Elmar Hinz Date: Sun, 1 May 2016 09:52:16 +0200 Subject: [PATCH] More options of upper/lower case by use of [] --- ftdetect/typoscript.vim | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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 +