+js regexp pattern
This commit is contained in:
parent
38bd9b3326
commit
1820b31938
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue