From b58073f580417b0b32fabee72ff97758365647dc Mon Sep 17 00:00:00 2001 From: JV Clemence Date: Sun, 12 May 2013 18:19:44 +0100 Subject: [PATCH 1/2] Updated to Github style readme --- README => README.md | 2 ++ 1 file changed, 2 insertions(+) rename README => README.md (95%) diff --git a/README b/README.md similarity index 95% rename from README rename to README.md index 311c6f9..0daef68 100644 --- a/README +++ b/README.md @@ -1,3 +1,5 @@ +# Arduino Syntax for Vim + This is a mirror of http://www.vim.org/scripts/script.php?script_id=2654 This syntax file provides syntax highlighting like the Arduino IDE. That is, Arduino specific names like digitalWrite is highlighted in addition to C++ syntax. From 56ad2020c00d3ef0eacde887dba23e66998b5fdf Mon Sep 17 00:00:00 2001 From: JV Clemence Date: Sun, 12 May 2013 18:19:59 +0100 Subject: [PATCH 2/2] Include filetype detection for .pde and .ino files --- ftdetect/arduino.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ftdetect/arduino.vim diff --git a/ftdetect/arduino.vim b/ftdetect/arduino.vim new file mode 100644 index 0000000..3a503df --- /dev/null +++ b/ftdetect/arduino.vim @@ -0,0 +1,2 @@ +autocmd BufNewFile,BufRead *.pde set filetype=arduino +autocmd BufNewFile,BufRead *.ino set filetype=arduino