forked from PrismJS/prism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Highlight Ruby method definitions without arguments
Inheriting from `clike` is enough to deal with constructs like this ```ruby def foo(bar) ... end ``` but not ```ruby def foo ... end ``` This does not highlight call sites, but since much idiomatic Ruby doesn't use parentheses in function calls, call sites can't be consistently highlighted anyway.
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.