lang/cc: fix c-basic-offset when editorconfig is unavailable (#50)
This commit is contained in:
parent
7f22f77204
commit
f6dcd8e850
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
:commands (c-mode c++-mode objc-mode java-mode)
|
||||
:mode ("\\.mm" . objc-mode)
|
||||
:init
|
||||
(setq-default c-basic-offset tab-width)
|
||||
|
||||
;; Auto-detect C++ header files
|
||||
(push (cons (lambda ()
|
||||
(and buffer-file-name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue