Merge pull request #497 from lite-xl/fix-javascript-regexp-syntax

Try to fix problem with js syntax of '/=' operator
This commit is contained in:
Adam
2021-12-06 00:17:07 -05:00
committed by GitHub
+1 -1
View File
@@ -8,7 +8,7 @@ syntax.add {
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },
{ pattern = { '/%g', '/', '\\' }, type = "string" },
{ pattern = { '/[^= ]', '/', '\\' },type = "string" },
{ pattern = { '"', '"', '\\' }, type = "string" },
{ pattern = { "'", "'", '\\' }, type = "string" },
{ pattern = { "`", "`", '\\' }, type = "string" },