Change default styling rules
This commit is contained in:
parent
7d4cc28c19
commit
37fd3529a4
6
init.el
6
init.el
@ -81,9 +81,11 @@
|
|||||||
:box '(:line-width -1 :color "azure4"))
|
:box '(:line-width -1 :color "azure4"))
|
||||||
|
|
||||||
;; Set the default styling rules to use.
|
;; Set the default styling rules to use.
|
||||||
(setq-default tab-width 4
|
(setq-default
|
||||||
|
tab-width 4
|
||||||
c-basic-offset 4
|
c-basic-offset 4
|
||||||
c-default-style "linux")
|
c-default-style "bsd"
|
||||||
|
)
|
||||||
|
|
||||||
;; Add a hook to trailing whitespaces before saving a file.
|
;; Add a hook to trailing whitespaces before saving a file.
|
||||||
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||||
|
Loading…
Reference in New Issue
Block a user