From 1cc7e09603863d739285998e17dee71398a79656 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Fri, 6 Nov 2015 12:10:47 -0500 Subject: [PATCH] Add support for .ino files. --- emacs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs b/emacs index 44b68ed..dc03458 100755 --- a/emacs +++ b/emacs @@ -53,3 +53,6 @@ (add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) + +;; Use the right mode for Arduino sketches +(add-to-list 'auto-mode-alist '("\\.ino\\'" . c++-mode))