summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-12-01 20:30:02 +0200
committerDrNuget <drnuget@outlook.com>2025-12-01 20:30:02 +0200
commit0630c9fa014fe24072b5cefcba45b2899bfcf01a (patch)
tree1769d25e641470f5be8f835e53c6ea95f98dacc8
parent8bcf8f79fa9b2ba91f5f2fe18b91f7d085cec9b4 (diff)
downloaddotfiles-0630c9fa014fe24072b5cefcba45b2899bfcf01a.tar.gz
emacs fix indentation rules
-rw-r--r--.emacs2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index a1895e7..209a817 100644
--- a/.emacs
+++ b/.emacs
@@ -15,8 +15,10 @@
(add-hook 'text-mode-hook 'line-number-hook)
(add-hook 'prog-mode-hook 'line-number-hook)
+(setq-default indent-tabs-mode t)
(setq-default tab-width 4)
(setq-default indent-tabs-mode t)
+(defvaralias 'c-basic-offset 'tab-width)
(setq electric-pair-pairs
'(