Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to include ftdetect for .ino and .pde files #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README → README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions ftdetect/arduino.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
autocmd BufNewFile,BufRead *.pde set filetype=arduino
autocmd BufNewFile,BufRead *.ino set filetype=arduino