From 5a35b65651380ebc5638cdb7d4a89786a2168c4f Mon Sep 17 00:00:00 2001 From: Correl Date: Sun, 5 Feb 2023 17:41:44 -0500 Subject: [PATCH] [emacs] Add arduino-mode --- .doom.d/config.org | 11 +++++++++++ .doom.d/packages.el | 2 ++ 2 files changed, 13 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index d7df60c..93a5d31 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -1066,6 +1066,17 @@ Study kanji by overlaying hiragana readings. :commands kanji-glasses-mode) #+end_src * Coding +** Arduino +#+begin_src emacs-lisp + (use-package! arduino-mode + :mode "\\.ino\\'") + + (use-package! arduino-cli-mode + :hook arduino-mode + :custom + (arduino-cli-warnings 'all) + (arduino-cli-verify t)) +#+end_src ** Erlang *** Kerl Select the active erlang installation managed with [[https://github.com/kerl/kerl][kerl]]. diff --git a/.doom.d/packages.el b/.doom.d/packages.el index a44e22c..984c8b9 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -6,6 +6,8 @@ ;; (package! another-package :recipe (:host github :repo "username/repo")) ;; (package! builtin-package :disable t) +(package! arduino-mode) +(package! arduino-cli-mode) (package! counsel) (package! desktop-environment) (package! elcord)