Updated regex for entity.name.state.lsl
This commit is contained in:
parent
36198a50f4
commit
89b5597948
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ function LSLHighlightRules() {
|
|||
regex : "(0[xX][0-9a-fA-F]+|[+-]?[0-9]+(?:(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?)?)\\b"
|
||||
}, {
|
||||
token : "entity.name.state.lsl",
|
||||
regex : "\\b((state)\\s+\\w+|default)\\b"
|
||||
regex : "\\b((state)\\s+[A-Za-z_]\\w*|default)\\b"
|
||||
}, {
|
||||
token : keywordMapper,
|
||||
regex : "\\b[a-zA-Z_][a-zA-Z0-9_]*\\b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue