Index: misc/grammalecte.sublime-syntax
==================================================================
--- misc/grammalecte.sublime-syntax
+++ misc/grammalecte.sublime-syntax
@@ -28,15 +28,18 @@
# Bookmarks
- match: '^GRAPH_NAME:.*'
scope: bookmark
- # Bookmarks
- - match: '^@@@@GRAPH: *(\w+)@@@@ *'
- scope: bookmark
+ # Graph
+ - match: '^@@@@GRAPH: *(\w+) *'
+ scope: graphline
captures:
1: string.graphname
+
+ - match: '^@@@@(?:END_GRAPH *| *)'
+ scope: graphline
# Keywords are if, else.
# Note that blackslashes don't need to be escaped within single quoted
# strings in YAML. When using single quoted strings, only single quotes
# need to be escaped: this is done by using two single quotes next to each
Index: misc/grammalecte.tmTheme
==================================================================
--- misc/grammalecte.tmTheme
+++ misc/grammalecte.tmTheme
@@ -66,10 +66,25 @@
#A0F0FF
background
#0050A0
+
+ name
+ Graphline
+ scope
+ graphline
+ settings
+
+ foreground
+ hsl(0, 100%, 80%)
+ background
+ hsl(0, 100%, 20%
+ fontStyle
+ bold
+
+
name
String
scope
string