mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Better electric-indent uninhibiter
Will now work in C modes as well as Csharp, Java and Python; possibly others that forcibly set electric-indent-inhibit.
This commit is contained in:
@ -71,8 +71,6 @@ compilation database is present in the project.")
|
||||
(add-hook 'c-mode-common-hook #'rainbow-delimiters-mode)
|
||||
(add-hook! '(c-mode-hook c++-mode-hook) #'+cc|fontify-constants)
|
||||
|
||||
(setq-hook! 'c-mode-common-hook electric-indent-inhibit nil)
|
||||
|
||||
;; Custom style, based off of linux
|
||||
(unless (assoc "doom" c-style-alist)
|
||||
(push '("doom"
|
||||
|
Reference in New Issue
Block a user