add overlay annotation support to QL syntax highlighter

This commit is contained in:
Philip Ginsbach
2026-01-19 10:24:29 +00:00
parent 077bbb24ac
commit 948623e767

View File

@@ -35,7 +35,7 @@ class QLLexer(RegexLexer):
# Keywords
(r'\b(boolean|date|float|int|string)\b', Keyword.Type),
(r'\b(abstract|cached|deprecated|external|final|library|override|private|query'
r'|(pragma|language|bindingset)\[\w*(,\s*\w*)*\])\s',
r'|(pragma|language|bindingset|overlay)\[\w*\??(,\s*\w*\??)*\])\s',
Keyword.Reserved),
(words((
'and', 'any', 'as', 'asc', 'avg', 'by', 'class','concat', 'count',