aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_php.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-02-10 03:31:53 -0400
committerjgmdev <jgmdev@gmail.com>2022-02-10 03:31:53 -0400
commit31cdd5567114df3d2d558411f13ee4ee2f0dfb36 (patch)
treea79664e89a91f700f7e4441386550be87dc1d0e7 /plugins/language_php.lua
parent1907d9debb59159cbc49fe366fa9355b3f7399aa (diff)
downloadlite-xl-plugins-31cdd5567114df3d2d558411f13ee4ee2f0dfb36.tar.gz
lite-xl-plugins-31cdd5567114df3d2d558411f13ee4ee2f0dfb36.zip
language_php: added comment field because this isn't read from sub syntaxes.
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 da50dd4..2cf74d2 100644
--- a/plugins/language_php.lua
+++ b/plugins/language_php.lua
@@ -150,6 +150,7 @@ syntax.add {
-- allows html, css and js coloring on php files
syntax.add {
files = { "%.php$", "%.phtml" },
+ comment = "//",
patterns = {
{
pattern = {