Vim Tips Wiki


1,613pages on
this wiki

Use this page to discuss script 2654 arduino: syntax file for Arduino .PDE files

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


As of Arduino 1.0 the file extension has changed from .pde to .ino so this line:

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

should be:

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


Would be nice to see an update to this to address any changes to the Arduino API (if any) as Arduino is now version 1.6.1 as of writing.

Around Wikia's network

Random Wiki