diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-04 16:08:47 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:33 +0200 |
commit | 666d9e1e7e60868a16b09a89db7b3d0d53da00f7 (patch) | |
tree | f6ab98ae7436048d7a2979d7d715cfec9a517bf6 /contrib/gtksourceview-3.0/language-specs/ousia.lang | |
parent | 075296b20ed12a85295915d34a238289ff74c85c (diff) |
Highlight the exclaimation mark after an open curly brace
Diffstat (limited to 'contrib/gtksourceview-3.0/language-specs/ousia.lang')
-rw-r--r-- | contrib/gtksourceview-3.0/language-specs/ousia.lang | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/gtksourceview-3.0/language-specs/ousia.lang b/contrib/gtksourceview-3.0/language-specs/ousia.lang index e8ebbdf..0a61304 100644 --- a/contrib/gtksourceview-3.0/language-specs/ousia.lang +++ b/contrib/gtksourceview-3.0/language-specs/ousia.lang @@ -38,6 +38,7 @@ <style id="attribute-name" _name="Attribute name" map-to="def:identifier"/> <style id="boolean" _name="Boolean Value" map-to="def:boolean"/> <style id="type" _name="Data Type" map-to="def:type"/> + <style id="special-char" _name="Special Character" map-to="def:special-char"/> </styles> <definitions> <!-- An ousia command --> @@ -138,6 +139,14 @@ <end>$</end> </context> + <!-- Field --> + <context id="default-field"> + <match>{(!)</match> + <include> + <context sub-pattern="1" style-ref="special-char"/> + </include> + </context> + <!-- Main context --> <context id="ousia"> <include> @@ -148,6 +157,7 @@ <context ref="comment-multiline"/> <context ref="comment"/> <context ref="map"/> + <context ref="default-field"/> </include> </context> </definitions> |