aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_php.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua
index 81cf49e..83bd901 100644
--- a/plugins/language_php.lua
+++ b/plugins/language_php.lua
@@ -16,6 +16,7 @@ syntax.add {
files = { "%.phps$" },
headers = "^<%?php",
comment = "//",
+ block_comment = {"/*", "*/"},
patterns = {
-- Attributes
{ pattern = {"#%[", "%]"}, type = "normal" },
@@ -155,6 +156,7 @@ syntax.add {
name = "PHP",
files = { "%.php$", "%.phtml" },
comment = "//",
+ block_comment = {"/*", "*/"},
patterns = {
{
pattern = {