summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-05-27 11:47:09 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-05-27 11:47:09 +0200
commit971021551f65e76ff3e41fd0749d295f5cb75e48 (patch)
tree5de1f587a19c44059417e3fe6f33aec6011bc9a9
parent8d7e64a1129866bd81ed2e2aee95058e5da6c3f0 (diff)
correctly implements
-rw-r--r--eo.sublime-syntax24
1 files changed, 23 insertions, 1 deletions
diff --git a/eo.sublime-syntax b/eo.sublime-syntax
index c282504..9980162 100644
--- a/eo.sublime-syntax
+++ b/eo.sublime-syntax
@@ -152,8 +152,30 @@ contexts:
152 152
153 class.implements: 153 class.implements:
154 - include: close_rule 154 - include: close_rule
155 - match: "" 155 - include: comments
156 - match: "[A-Za-z0-9_]+"
157 scope: entity.name
158 push: class.implements.rule
159
160 class.implements.rule:
161 - match: "[A-Za-z0-9_]+"
162 scope: entity.name
163 - match: "{"
164 set: class.implements.property
165 - match: ";"
166 pop: true
167
156 #TODO highlight the names! 168 #TODO highlight the names!
169 class.implements.property:
170 - include: close_rule
171 - include: comments
172 - match: "(get;|set;)"
173 scope: keyword.other
174
175 class.parts:
176 - include: close_rule
177 - match: ""
178 #TODO be usefull
157 179
158 class.events: 180 class.events:
159 - include: close_rule 181 - include: close_rule