+js language regexp pattern
This commit is contained in:
1 parent
a23986f171
commit
b616b55fd9
1 file changed
+1
@@ -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" },
|
||||
|
||||
Reference in new issue
Block a user