mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/cc: reindent line on { #510
This commit is contained in:
@ -103,7 +103,7 @@ compilation database is present in the project.")
|
|||||||
;; custom bindings. We'll do this ourselves.
|
;; custom bindings. We'll do this ourselves.
|
||||||
(setq c-tab-always-indent nil
|
(setq c-tab-always-indent nil
|
||||||
c-electric-flag nil)
|
c-electric-flag nil)
|
||||||
(dolist (key '("#" "{" "}" "/" "*" ";" "," ":" "(" ")" "\177"))
|
(dolist (key '("#" "}" "/" "*" ";" "," ":" "(" ")" "\177"))
|
||||||
(define-key c-mode-base-map key nil))
|
(define-key c-mode-base-map key nil))
|
||||||
;; Smartparens and cc-mode both try to autoclose angle-brackets intelligently.
|
;; Smartparens and cc-mode both try to autoclose angle-brackets intelligently.
|
||||||
;; The result isn't very intelligent (causes redundant characters), so just do
|
;; The result isn't very intelligent (causes redundant characters), so just do
|
||||||
|
Reference in New Issue
Block a user