sponsor Vim development Vim logo Vim Book Ad

Arduino syntax file : Syntax file for Arduino .PDE files

 script karma  Rating 288/135, Downloaded by 14537  Comments, bugs, improvements  Vim wiki

created by
Johannes Hoff
 
script type
syntax
 
description
This syntax file provides syntax highlighting like the Arduino IDE. That is, Arduino specific names like digitalWrite is highlighted in addition to C++ syntax.

The syntax file is automatically generated by my script at http://bitbucket.org/johannes/arduino-vim-syntax

Licensed under the vim license: http://groups.google.com/group/vim_use/browse_thread/thread/bdb036cd8acda1ba/75b353c598a0cd6f?lnk=gst&q=license#75b353c598a0cd6f
 
install details
Just put the file in your vimfiles/syntax folder. To automatically use it on PDE files, add the following line to your vimrc file (or e.g filetype.vim to install it for all users) :

autocmd! BufNewFile,BufRead *.pde setlocal ft=arduino
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
arduino.vim 9 2015-05-18 7.0 Johannes Hoff Update to version 1.6.4 (thanks for the patch, Niall Parker)
arduino.vim 8 2011-12-23 7.0 Johannes Hoff Update to Arduino version 1.0. (Thanks for the reminder, Claus Kühnel)
arduino.vim 7 2011-06-06 6.0 Johannes Hoff Update to Arduino version 0022. File is now automatically generated.
arduino.vim 6 2011-06-03 6.0 Johannes Hoff Fix spelling of INTERNAL, plus added some new keywords (thanks to Graeme Cross)
arduino.vim 5 2010-12-01 6.0 Johannes Hoff Add a license (the vim license)
arduino.vim 4 2010-11-26 6.0 Johannes Hoff Updated keywords to Arduino version 21 (thanks Adam Obeng)
arduino.vim 3 2010-05-12 6.0 Johannes Hoff Change to unix line endings as in version 1 (thanks Erik Nomitch)
arduino.vim 2 2010-04-05 6.0 Johannes Hoff Cleaning up and adding new keywords (thanks to Rik)
arduino.vim 1 2009-05-24 6.0 Johannes Hoff Initial upload
ip used for rating: 3.149.251.155

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github