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:
parent
471fb9168d
commit
a5c86ed6f2
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@
|
||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
:defer t
|
:defer t
|
||||||
:hook (web-mode . lsp-deferred)
|
:hook (web-mode . lsp-deferred)
|
||||||
|
:config
|
||||||
|
(setq web-mode-enable-auto-quoting nil)
|
||||||
:mode
|
:mode
|
||||||
(("\\.phtml\\'" . web-mode)
|
(("\\.phtml\\'" . web-mode)
|
||||||
("\\.tpl\\.php\\'" . web-mode)
|
("\\.tpl\\.php\\'" . web-mode)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue