diff options
author | murphy <murphy@rubychan.de> | 2010-04-02 03:42:12 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-02 03:42:12 +0000 |
commit | 937daf4160cdd8cadf936f7ecb5f575c522e276a (patch) | |
tree | da15f97e0564f6dc46b40821934e3be2bb68c5f8 /lib/coderay/token_kinds.rb | |
parent | 6d82ed6176a8c3e6a80a6fead652ad659a8892db (diff) | |
download | coderay-937daf4160cdd8cadf936f7ecb5f575c522e276a.tar.gz |
Python scanner highlights docstrings as comments (see #190).
Diffstat (limited to 'lib/coderay/token_kinds.rb')
-rwxr-xr-x | lib/coderay/token_kinds.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/token_kinds.rb b/lib/coderay/token_kinds.rb index f6341fb..3e63372 100755 --- a/lib/coderay/token_kinds.rb +++ b/lib/coderay/token_kinds.rb @@ -82,6 +82,7 @@ module CodeRay AbbreviationForKind[:open] = AbbreviationForKind[:close] = AbbreviationForKind[:delimiter] AbbreviationForKind[:nesting_delimiter] = AbbreviationForKind[:delimiter] AbbreviationForKind[:escape] = AbbreviationForKind[:delimiter] + AbbreviationForKind[:docstring] = AbbreviationForKind[:comment] #AbbreviationForKind.default = AbbreviationForKind[:error] or raise 'no class found for :error!' end end |