Merge pull request #63 from eugenpt/master

+js language regexp pattern
This commit is contained in:
Francesco authored and GitHub committed 2021-02-24 20:21:44 +00:00
commit 0f789cd6a2
1 file changed
+1
+1
View File
@@ -6,6 +6,7 @@ syntax.add {
patterns = { patterns = {
{ pattern = "//.-\n", type = "comment" }, { pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" }, { pattern = { "/%*", "%*/" }, type = "comment" },
{ pattern = { '/', '/', '\\' }, type = "string" },
{ pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { '"', '"', '\\' }, type = "string" },
{ pattern = { "'", "'", '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" },
{ pattern = { "`", "`", '\\' }, type = "string" }, { pattern = { "`", "`", '\\' }, type = "string" },