+js language regexp pattern

This commit is contained in:
ep 2021-02-24 12:24:43 +07:00
parent a23986f171
commit b616b55fd9
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" },