+js regexp pattern

This commit is contained in:
ep 2021-02-13 11:34:03 +07:00
parent 38bd9b3326
commit 1820b31938
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ syntax.add {
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },
{ pattern = { '/', '/', '\\' }, type = "string" },
{ pattern = { '"', '"', '\\' }, type = "string" },
{ pattern = { "'", "'", '\\' }, type = "string" },
{ pattern = { "`", "`", '\\' }, type = "string" },