Replace :electric with set-electric-rules!
And general refactor of the emacs/electric-indent module. Also updates (set! :electric ...) references in various :lang modules
This commit is contained in:
parent
f801939ce7
commit
9f0ebe42e8
9 changed files with 39 additions and 33 deletions
|
@ -58,7 +58,7 @@ compilation database is present in the project.")
|
|||
c-default-style "doom")
|
||||
|
||||
:config
|
||||
(set! :electric '(c-mode c++-mode objc-mode java-mode) :chars '(?\n ?\}))
|
||||
(set-electric! '(c-mode c++-mode objc-mode java-mode) :chars '(?\n ?\}))
|
||||
|
||||
;;; Better fontification (also see `modern-cpp-font-lock')
|
||||
(add-hook 'c-mode-common-hook #'rainbow-delimiters-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue