From e7dbc2f5d1548046ca7f15aec34bc30fec1c0d1d Mon Sep 17 00:00:00 2001 From: Elmar Hinz Date: Thu, 25 Sep 2014 06:09:36 +0200 Subject: [PATCH] advanced ts file detection --- ftdetect/typoscript.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ftdetect/typoscript.vim b/ftdetect/typoscript.vim index fbb1d67..bbe104c 100644 --- a/ftdetect/typoscript.vim +++ b/ftdetect/typoscript.vim @@ -1 +1,7 @@ autocmd BufNewFile,BufRead *.ts 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 */static/setup.txt setlocal filetype=typoscript +autocmd BufNewFile,BufRead */static/constants.txt setlocal filetype=typoscript