Skip to content

Commit 9bc67c1

Browse files
committed
Fix logger highlighting
1 parent 31c79bc commit 9bc67c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

after/syntax/ruby/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ hi def link rubyHelper Function
2121
let s:has_app = exists('*RailsDetect') && RailsDetect()
2222
let s:path = tr(expand('%:p'), '\', '/')
2323

24-
if s:path =~# '\v/app/%(channels|controllers|helpers|jobs|mailers|models)/.*\.rb$\|/app/views/'
24+
if s:path =~# '\v/app/%(channels|controllers|helpers|jobs|mailers|models)/.*\.rb$|/app/views/'
2525
syn keyword rubyHelper logger
2626
endif
2727

0 commit comments

Comments
 (0)