Vim+Ruby: highlight debugger statements
Highlight those debugger
and binding.pry
statements in vim:
" Make those debugger statements painfully obvious
au BufEnter *.rb syn match error contained "\<binding.pry\>"
au BufEnter *.rb syn match error contained "\<debugger\>"
Makes them very easy to see and find, and helps keep them out of version control.
Written by Christopher Sexton
Related protips
1 Response
thanks !
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#