fix dollar; add comma syntax
This commit is contained in:
parent
e4cfb47ae1
commit
080596e6a1
2 changed files with 15 additions and 5 deletions
|
|
@ -47,6 +47,10 @@ var CirruHighlightRules = function() {
|
|||
}, {
|
||||
token: 'storage.modifier',
|
||||
regex: /\(/,
|
||||
}, {
|
||||
token: 'storage.modifier',
|
||||
regex: /\,/,
|
||||
next: 'line',
|
||||
}, {
|
||||
token: 'support.function',
|
||||
regex: /[^\(\)\"\s]+/,
|
||||
|
|
@ -88,6 +92,10 @@ var CirruHighlightRules = function() {
|
|||
token: 'markup.raw',
|
||||
regex: /^\s*/,
|
||||
next: 'start',
|
||||
}, {
|
||||
token: 'storage.modifier',
|
||||
regex: /\$/,
|
||||
next: 'start',
|
||||
}, {
|
||||
token: 'variable.parameter',
|
||||
regex: /[^\(\)\"\s]+/
|
||||
|
|
@ -102,10 +110,6 @@ var CirruHighlightRules = function() {
|
|||
token: 'markup.raw',
|
||||
regex: /^\ */,
|
||||
next: 'start',
|
||||
}, {
|
||||
token: 'storage.modifier',
|
||||
regex: /\$/,
|
||||
next: 'start',
|
||||
}, {
|
||||
token: 'string.quoted.double',
|
||||
regex: /"/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue