Skip to content

Commit

Permalink
Add support for private/protected prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistos committed Feb 20, 2018
1 parent 6bd5c4c commit d427de9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diakonos.conf
Expand Up @@ -949,6 +949,8 @@ lang.ruby.tokens.comments.format = lang.shared.tokens.comments.format
lang.ruby.comment_string "# "
lang.ruby.tokens.access_control ^\s*pr(?:ivate|otected)\s*$
lang.ruby.tokens.access_control.format 13 bold
lang.ruby.tokens.access_control2 (private|protected) def
lang.ruby.tokens.access_control2.format yellow
lang.ruby.tokens.long_comments.open ^=begin yellow bold
lang.ruby.tokens.long_comments.close ^=end
lang.ruby.tokens.long_comments.format = lang.shared.tokens.comments.format
Expand Down

0 comments on commit d427de9

Please sign in to comment.