Set basic offset for C
This commit is contained in:
@@ -277,6 +277,8 @@ needs to be set up to install them if they aren't already.
|
|||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq c-default-style "bsd")
|
(setq c-default-style "bsd")
|
||||||
|
(setq c-basic-offset 4)
|
||||||
|
|
||||||
(use-package clang-format)
|
(use-package clang-format)
|
||||||
(add-hook 'c-mode-hook
|
(add-hook 'c-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|||||||
Reference in New Issue
Block a user