emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/arduino-mode eb1d260 040/107: set tab-width and indent wid


From: ELPA Syncer
Subject: [nongnu] elpa/arduino-mode eb1d260 040/107: set tab-width and indent width to 2
Date: Sun, 29 Aug 2021 10:58:13 -0400 (EDT)

branch: elpa/arduino-mode
commit eb1d2606ae98bfb4941edaf20052d06a085f7c70
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    set tab-width and indent width to 2
---
 arduino-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arduino-mode.el b/arduino-mode.el
index 70017e2..6224de1 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -259,6 +259,8 @@ Key bindings:
   ;; analysis and similar things working.
   (c-common-init 'arduino-mode)
   (easy-menu-add arduino-menu)
+  (set (make-local-variable 'c-basic-offset) 2)
+  (set (make-local-variable 'tab-width) 2)
   (run-hooks 'c-mode-common-hook)
   (run-hooks 'arduino-mode-hook)
   (c-update-modeline))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]