Switch from electric-spacing to electric-operator
It’s more reliable, and it doesn’t mess up operator characters within strings. It has its own quirks, though.
This commit is contained in:
parent
0b431b5228
commit
0be142e232
8
init.el
8
init.el
@ -503,10 +503,12 @@
|
||||
:config
|
||||
(add-hook 'c-mode-hook 'electric-case-c-init))
|
||||
|
||||
(use-package electric-spacing
|
||||
:pin gnu
|
||||
(use-package electric-operator
|
||||
:config
|
||||
(add-hook 'c-mode-common-hook 'electric-spacing-mode))
|
||||
(add-hook 'c-mode-common-hook 'electric-operator-mode)
|
||||
;; Apply electric-operator-mode to vala-mode, too
|
||||
(apply #'electric-operator-add-rules-for-mode 'vala-mode
|
||||
electric-operator-prog-mode-rules))
|
||||
|
||||
(use-package emamux)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user