开发者

Disable autoinserted closed quote in ruby-mode emacs

开发者 https://www.devze.com 2023-03-26 02:20 出处:网络
I use ruby-mode for emacs, when I enter quote \", automatically inserted closed quote. This is 开发者_开发问答maybe useful, but when I edit code it prevents, how I can disable this \"feature\"?

I use ruby-mode for emacs, when I enter quote ", automatically inserted closed quote.

This is 开发者_开发问答maybe useful, but when I edit code it prevents, how I can disable this "feature"?

thanks.


Do you have

(require 'ruby-electric)

in your emacs config? If so, remove it.

Using ruby-mode alone doesn't cause the magic quotes you're seeing. Check also that you don't have autopair-mode enabled.

0

精彩评论

暂无评论...
验证码 换一张
取 消