Skip to content

Commit 948623e

Browse files
committed
add overlay annotation support to QL syntax highlighter
1 parent 077bbb2 commit 948623e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/codeql/qllexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class QLLexer(RegexLexer):
3535
# Keywords
3636
(r'\b(boolean|date|float|int|string)\b', Keyword.Type),
3737
(r'\b(abstract|cached|deprecated|external|final|library|override|private|query'
38-
r'|(pragma|language|bindingset)\[\w*(,\s*\w*)*\])\s',
38+
r'|(pragma|language|bindingset|overlay)\[\w*\??(,\s*\w*\??)*\])\s',
3939
Keyword.Reserved),
4040
(words((
4141
'and', 'any', 'as', 'asc', 'avg', 'by', 'class','concat', 'count',

0 commit comments

Comments
 (0)