Arduino syntax file : Syntax file for Arduino .PDE files
| script karma |
Rating 41/17,
Downloaded by 918 |
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.
I've bascially just implemented Richard Bronosky's idea from the arduino mailing list: http://arduino.cc/pipermail/developers_arduino.cc/2009-January/000398.html |
| |
| 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) :
au BufNewFile,BufRead *.pde setf arduino |
| |
script versions (upload new version)
Click on the package to download.
|