8000 Lua scanner, tweaked (finally!) by korny · Pull Request #141 · rubychan/coderay · GitHub
[go: up one dir, main page]

Skip to content

Lua scanner, tweaked (finally!) #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 22, 2013
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
whitespace
  • Loading branch information
korny committed Jun 22, 2013
commit d0d1b129f09dbae8fc25c093c09f72c6396b122a
2 changes: 1 addition & 1 deletion lib/coderay/styles/alpha.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module CodeRay
module Styles

# A colorful theme using CSS 3 colors (with alpha channel).
class Alpha < Style

Expand Down
6 changes: 3 additions & 3 deletions lib/coderay/token_kinds.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module CodeRay

# A Hash of all known token kinds and their associated CSS classes.
TokenKinds = Hash.new do |h, k|
warn 'Undefined Token kind: %p' % [k] if $CODERAY_DEBUG
false
end

# speedup
TokenKinds.compare_by_identity if TokenKinds.respond_to? :compare_by_identity

TokenKinds.update( # :nodoc:
:debug => 'debug', # highlight for debugging (white on blue background)

Expand Down
0