vertically aligned code comments
This commit is contained in:
parent
ee0a95974b
commit
408b984266
6 changed files with 83 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"patterns": [
|
||||
{ "regex": "\\/\\/.*", "is": "comment" },
|
||||
{ "regex": "\\/\\/.*\\n?", "is": "comment" },
|
||||
{
|
||||
"regex": "\\/\\*.*?\\*\\/",
|
||||
"flags": ["dotMatchesNewline"],
|
||||
|
@ -37,7 +37,8 @@
|
|||
}
|
||||
},
|
||||
{ "regex": "[a-zA-Z_][a-zA-Z0-9_]*", "is": "identifier" },
|
||||
{ "regex": "'[a-zA-Z_][a-zA-Z0-9_]*", "is": "literal" }
|
||||
{ "regex": "'[a-zA-Z_][a-zA-Z0-9_]*", "is": "literal" },
|
||||
{ "regex": "\n", "is": "" }
|
||||
],
|
||||
"keywords": {
|
||||
"_": { "into": "keyword1" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue