aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_php.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_php.lua')
-rw-r--r--plugins/language_php.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua
index 025077a..d6ed516 100644
--- a/plugins/language_php.lua
+++ b/plugins/language_php.lua
@@ -2,6 +2,7 @@ local syntax = require "core.syntax"
syntax.add {
files = { "%.php$", "%.phtml" },
+ headers = "^<%?php",
comment = "//",
patterns = {
{ pattern = "//.-\n", type = "comment" },