When typing inside double-quotes in a Ruby file, Sublime automatically adds {}
as soon as you type a #
. This is a huge hassle and confuses the bejeezus out of me. How do I make it stop?
Apparently the auto_match_enabled
setting controls this behavior, and not the visual underline behavior, which is in fact controlled by the match_brackets
setting.
In your /Packages/Ruby
directory there is Default.sublime-keymap
file which contains a small snippet that inserts the pair or curly brackets after #
is pressed within an string that can be interpolated, ie double quotes. Just comment this out to solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With