Skip to content

Commit

Permalink
Support ruby magic comment & rubocop rules. (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
bstopp authored and osterman committed May 10, 2018
1 parent 1f560d1 commit 6851026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#
ruby:
ext: ['.rb', '.rake']
after: ['^#!', '^#.*encoding:']
after: ['^#!', '^#.*encoding:', '^#.*frozen_string_literal:']
comment:
open: '#\n'
open: '\n#\n'
close: '#\n'
prefix: '# '

Expand Down

0 comments on commit 6851026

Please sign in to comment.