From 421bf428b55614d476ed3c69b553d34caefff55c Mon Sep 17 00:00:00 2001 From: jgmdev Date: Tue, 15 Mar 2022 02:58:28 -0400 Subject: language_php: added block_comment declaration --- plugins/language_php.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/language_php.lua') 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 = { -- cgit v1.2.3