Index: misc/grammalecte.sublime-syntax
==================================================================
--- misc/grammalecte.sublime-syntax
+++ misc/grammalecte.sublime-syntax
@@ -48,11 +48,11 @@
scope: keyword.python
- match: '\b(?:True|False|None)\b'
scope: constant.language
- - match: '\b(?:spell|morph|morphex|g_morph|stem|textarea0?\w*|before0?\w*|after0?\w*|word|option|define|select|exclude|g_define|g_select|g_exclude|analysex?|apposition|is[A-Z]\w+|rewriteSubject|checkD\w+|getD\w+|has[A-Z]\w+|sugg[A-Z]\w+|switch[A-Z]\w+|ceOrCet|formatN\w+|mbUnit)\b'
+ - match: '\b(?:spell|morph|morphex|stem|textarea0?\w*|before0?\w*|after0?\w*|word|option|define|select|exclude|analysex?|tag_|apposition|is[A-Z]\w+|rewriteSubject|checkD\w+|getD\w+|has[A-Z]\w+|sugg[A-Z]\w+|switch[A-Z]\w+|ceOrCet|formatN\w+|mbUnit)\b'
scope: entity.name.function
- match: '\b(?:replace|endswith|startswith|search|upper|lower|capitalize|strip|rstrip|is(?:upper|lower|digit|title))\b'
scope: support.function
@@ -119,10 +119,15 @@
scope: keyword.textprocessor
captures:
1: keyword.textprocessor.group
- match: '=>>'
scope: keyword.disambiguator
+ - match: '/(\d*)>>'
+ scope: keyword.tag
+ captures:
+ 1: keyword.tag.group
+
# Tokens
- match: '(>)\w+'
scope: string.lemma
captures:
@@ -156,11 +161,11 @@
# Example errors
- match: '{{.+?}}'
scope: message.error
# special chars
- - match: '[@=*^?!:+<>~]'
+ - match: '[@=*^?¿!:+<>~]'
scope: keyword.other
- match: '\(\?(?:[:=!]|#602020
fontStyle
bold
+
+ name
+ Keyword tag
+ scope
+ keyword.tag
+ settings
+
+ foreground
+ #FF70FF
+ background
+ #602060
+ fontStyle
+ bold
+
+
+
+ name
+ Keyword tag group
+ scope
+ keyword.tag.group
+ settings
+
+ foreground
+ #F0B0F0
+ background
+ #602060
+ fontStyle
+ bold
+
+
name
Keyword textprocessor
scope
keyword.textprocessor