mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
lang/cc: minor refactor
This commit is contained in:
@@ -43,8 +43,8 @@ compilation database is present in the project.")
|
||||
(equal (file-name-extension buffer-file-name) "h")
|
||||
(re-search-forward "@\\<interface\\>" magic-mode-regexp-match-limit t)))
|
||||
|
||||
(push (cons #'+cc-c++-header-file-p 'c++-mode) magic-mode-alist)
|
||||
(push (cons #'+cc-objc-header-file-p 'objc-mode) magic-mode-alist)
|
||||
(push '(+cc-c++-header-file-p . c++-mode) magic-mode-alist)
|
||||
(push '(+cc-objc-header-file-p . objc-mode) magic-mode-alist)
|
||||
|
||||
:init
|
||||
(setq-default c-basic-offset tab-width
|
||||
|
Reference in New Issue
Block a user