diff options
-rw-r--r-- | plugins/language_php.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua index 55597d6..025077a 100644 --- a/plugins/language_php.lua +++ b/plugins/language_php.lua @@ -5,6 +5,7 @@ syntax.add { comment = "//", patterns = { { pattern = "//.-\n", type = "comment" }, + { pattern = "#.-\n", type = "comment" }, { pattern = { "/%*", "%*/" }, type = "comment" }, -- I dont know why the '//' are needed but I leave it here for now { pattern = { '"', '"', '\\' }, type = "string" }, |