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:
Henrik Lissner 2019-02-27 15:21:04 -05:00
parent aa9c4f63ed
commit 6fc7b8c1c4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 2 deletions

View file

@ -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"