summaryrefslogtreecommitdiffstats
path: root/syntax/tt2html.vim
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2013-09-17 17:37:59 +0200
committerRob Hoelz <rob@hoelz.ro>2013-09-17 17:37:59 +0200
commit2686fb60f4a2930c38961f5c6211f2177258faf9 (patch)
tree3252dc94e1444812bf260b025535e86754d39606 /syntax/tt2html.vim
parent9d92f103757d629193e9ec2d4669eb1094b23669 (diff)
downloadvim-polyglot-2686fb60f4a2930c38961f5c6211f2177258faf9.tar.gz
vim-polyglot-2686fb60f4a2930c38961f5c6211f2177258faf9.zip
Add Perl language files
Diffstat (limited to 'syntax/tt2html.vim')
-rw-r--r--syntax/tt2html.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/syntax/tt2html.vim b/syntax/tt2html.vim
new file mode 100644
index 00000000..ff1f0dcf
--- /dev/null
+++ b/syntax/tt2html.vim
@@ -0,0 +1,20 @@
+" Language: TT2 embedded with HTML
+" Maintainer: vim-perl <vim-perl@googlegroups.com>
+" Author: Moriki, Atsushi <4woods+vim@gmail.com>
+" Homepage: http://github.com/vim-perl/vim-perl
+" Bugs/requests: http://github.com/vim-perl/vim-perl/issues
+" Last Change: {{LAST_CHANGE}}
+
+if exists("b:current_syntax")
+ finish
+endif
+
+runtime! syntax/html.vim
+unlet b:current_syntax
+
+runtime! syntax/tt2.vim
+unlet b:current_syntax
+
+syn cluster htmlPreProc add=@tt2_top_cluster
+
+let b:current_syntax = "tt2html"