Enable ‘electric-indent-local-mode’ in CMake
This commit is contained in:
parent
058c6b39ae
commit
003c955ad9
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.0125.121453
|
;; Version: 2021.0223.150922
|
||||||
;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake)
|
;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
(add-hook 'cmake-mode-hook 'cmake-font-lock-activate)
|
(add-hook 'cmake-mode-hook 'cmake-font-lock-activate)
|
||||||
(add-hook 'cmake-mode-hook 'company-mode)
|
(add-hook 'cmake-mode-hook 'company-mode)
|
||||||
(add-hook 'cmake-mode-hook 'eldoc-cmake-enable)
|
(add-hook 'cmake-mode-hook 'eldoc-cmake-enable)
|
||||||
|
(add-hook 'cmake-mode-hook 'electric-indent-local-mode)
|
||||||
(add-hook 'cmake-mode-hook 'electric-pair-local-mode)
|
(add-hook 'cmake-mode-hook 'electric-pair-local-mode)
|
||||||
(add-hook 'cmake-mode-hook 'oni-cmake--auto-fill-mode)
|
(add-hook 'cmake-mode-hook 'oni-cmake--auto-fill-mode)
|
||||||
(add-hook 'cmake-mode-hook 'rainbow-delimiters-mode)
|
(add-hook 'cmake-mode-hook 'rainbow-delimiters-mode)
|
||||||
|
|
Loading…
Reference in a new issue