Skip to content

Commit

Permalink
[sublime] remove ident variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Jan 9, 2018
1 parent fce3833 commit 4cd2cc8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions highlight/RON.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: RON
file_extensions:
- ron
scope: source.ron
variables:
ident: '[A-Za-z_][A-Za-z_0-9]*'
contexts:
main:
- include: value
Expand Down Expand Up @@ -67,7 +65,7 @@ contexts:
)
scope: constant.numeric.ron
object:
- match: '{{ident}}'
- match: '[A-Za-z_][A-Za-z_0-9]*'
scope: entity.name.class.ron
- match: '\('
scope: punctuation.section.dictionary.begin.ron
Expand All @@ -76,7 +74,7 @@ contexts:
- match: '\)'
scope: punctuation.section.dictionary.end.ron
pop: true
- match: '{{ident}}'
- match: '[a-z_][A-Za-z_0-9]*'
scope: entity.name.tag.ron
- match: '\:'
scope: punctuation.separator.dictionary.key-value.ron
Expand Down

0 comments on commit 4cd2cc8

Please sign in to comment.