summaryrefslogtreecommitdiffstats
path: root/syntax/phtml.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/phtml.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/syntax/phtml.vim b/syntax/phtml.vim
new file mode 100644
index 00000000..d00ced95
--- /dev/null
+++ b/syntax/phtml.vim
@@ -0,0 +1,10 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Vim syntax file
+" PHTML used to be the filetype for PHP 2.0. Now everything is PHP.
+
+if !exists("b:current_syntax")
+ runtime! syntax/php.vim
+endif
+
+endif