diff options
Diffstat (limited to 'pygments/lexers/lisp.py')
-rw-r--r-- | pygments/lexers/lisp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/lisp.py b/pygments/lexers/lisp.py index 975fa186..a23fc6a6 100644 --- a/pygments/lexers/lisp.py +++ b/pygments/lexers/lisp.py @@ -222,9 +222,10 @@ class SchemeLexer(RegexLexer): (number_rules[10], decimal_cb, '#pop'), (number_rules[16], Number.Hex, '#pop'), - # strings, symbols and characters + # strings, symbols, keywords and characters (r'"', String, 'string'), (r"'" + valid_name, String.Symbol, "#pop"), + (r'#:' + valid_name, Keyword.Declaration, '#pop'), (r"#\\([()/'\"._!ยง$%& ?=+-]|[a-zA-Z0-9]+)", String.Char, "#pop"), # constants |