summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2019-01-04 22:07:10 -0600
committerBobby Bingham <koorogi@koorogi.info>2019-01-11 19:39:55 -0600
commitd5e90f777b05f493a59c5ac078305763b9366e7b (patch)
tree87e22f98a94807e30920ed3a3819e787aa802491 /emacs
parenteeb02a4c397823545827573c0d851b7a953e3cab (diff)
emacs: fix indentation used when editing C code
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs b/emacs/.emacs
index a20e51b..8769d6f 100644
--- a/emacs/.emacs
+++ b/emacs/.emacs
@@ -17,6 +17,11 @@
(load-user-file "treemacs.el")
(load-user-file "colors.el")
+(setq-default c-default-style "linux"
+ c-basic-offset 4
+ tab-width 4
+ indent-tabs-mode t)
+
(custom-set-variables
'(package-selected-packages
(quote