Love Arduino and Vim? Then use this syntax file and get syntax highlighting for Arduino functions in vim.
- Copy
syntax/arduino.vim
file into your~/.vim/syntax
directory - Copy
ftdetect/arduino.vim
file into your~/.vim/ftdetect
directory
Using Vundle
Bundle "sudar/vim-arduino-syntax"
And :BundleInstall
The syntax file was originally created by Johannes Hoff. I regenerated the file using his python script and added some additional changes on top of it.
- Create a separate branch for Arduino 1.5
- Automatically include keywords from keywords.txt of Arduino libraries
Contributions are always welcome in the form of pull requests with explanatory comments.
If you are using Arduino with Vim, then also checkout some of my other projects.