AdamNiederer/vue-mode

Struggling to disable auto-quoting inside vue templates

byxor opened this issue · 1 comments

byxor commented

Hi. I love your plugin, but I'm struggling with one of its features. (I'm not an emacs expert, so the solution isn't very obvious to me).

Problem

When writing HTML templates, I often need to add quotes for HTML attributes. When I press the " key, " is inserted into the code. This feature is very frustrating and I'd like to disable it so that " is inserted instead.

Attempted fix

I thought this might somehow be related to web-mode, so I tried disabling auto-quoting.

(setq web-mode-enable-auto-quoting nil)

This didn't work.

Temporary workaround

I've been using C-q " to insert raw quotes.

Conclusion

How do I disable this "auto quoting" feature in vue-mode?

That's really strange - I haven't ever experienced that on vanilla emacs. Could you provide an emacs version, flavor (spacemacs, GNU, XEmacs if that's still a thing), and list of packages which you have installed? M-x report-emacs-bug should give you most of the necessary information - just copy whatever you're comfortable sharing it into this issue.