8000 Kotlin by mikrethor · Pull Request #258 · rubychan/coderay · GitHub
[go: up one dir, main page]

Skip to content

Kotlin #258

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
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
redundant else
  • Loading branch information
“mikrethor” committed Dec 21, 2021
commit 4ea6ae22db61656ec0e089bd5792a37eb841d43a
3 changes: 0 additions & 3 deletions lib/coderay/scanners/kotlin.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
module CodeRay
module Scanners

load :java

class Kotlin < Java

register_for :kotlin
file_extension 'kt'

Expand Down Expand Up @@ -81,7 +79,6 @@ def scan_tokens encoder, options
when 'class', 'interface'
class_name_follows = true
else
# nothing
end
end
encoder.text_token match, kind
Expand Down
0