aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-12-15 12:06:04 -0400
committerjgmdev <jgmdev@gmail.com>2022-12-15 12:06:04 -0400
commit7a021d1ad8e6f43de162a4d8e6eccd5159045a6f (patch)
tree927050bfcb9c43d6d289433653ae66bcec62a3ba /plugins
parent83c90a7cba27804eb7f5867aa53a410c085fc20d (diff)
downloadlite-xl-plugins-7a021d1ad8e6f43de162a4d8e6eccd5159045a6f.tar.gz
lite-xl-plugins-7a021d1ad8e6f43de162a4d8e6eccd5159045a6f.zip
language_php: switch to non capturing group match
Diffstat (limited to 'plugins')
-rw-r--r--plugins/language_php.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_php.lua b/plugins/language_php.lua
index bea6b85..e0dc078 100644
--- a/plugins/language_php.lua
+++ b/plugins/language_php.lua
@@ -340,7 +340,7 @@ syntax.add {
{
regex = {
"<\\?php\\s+",
- "(\\?>|(?=`{3}))" -- end if inside markdown code tags
+ "(?:\\?>|(?=`{3}))" -- end if inside markdown code tags
},
syntax = ".phps",
type = "keyword2"