diff options
-rw-r--r-- | plugins/language_php.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua index 2cf74d2..fa1992a 100644 --- a/plugins/language_php.lua +++ b/plugins/language_php.lua @@ -12,7 +12,7 @@ require "plugins.language_js" -- define the core php syntax coloring syntax.add { - name = "PHP", + name = "PHP Source", files = { "%.phps$" }, headers = "^<%?php", comment = "//", @@ -149,6 +149,7 @@ syntax.add { -- allows html, css and js coloring on php files syntax.add { + name = "PHP", files = { "%.php$", "%.phtml" }, comment = "//", patterns = { |