fix(emacs): disable web-mode-enable-auto-quoting

This was really annoying when using JSX. When adding a `=` it would always add
in the quotes to make `=""`, this is not good when writing JSX when a lot of the
time you want `={}`. Now that this is disabled I can make the decision of what I
want to add
This commit is contained in:
Ade Attwood 2021-06-26 21:06:02 +01:00
parent 471fb9168d
commit a5c86ed6f2

View file

@ -9,6 +9,8 @@
(use-package web-mode
:defer t
:hook (web-mode . lsp-deferred)
:config
(setq web-mode-enable-auto-quoting nil)
:mode
(("\\.phtml\\'" . web-mode)
("\\.tpl\\.php\\'" . web-mode)