Skip to content

Commit

Permalink
add support for .ino files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasb committed Apr 29, 2012
1 parent 2c4d6b6 commit ffaab21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/vim-arduino.vim
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ function! s:CheckFile()
let l:f_name = bufname("%")
if l:f_name =~ '.pde$'
return l:f_name
elseif l:f_name =~ '.ino$'
return l:f_name
else
echo "Only *.pde files can be compilied. File" l:f_name "does not have a recognized extention."
echo "Only *.pde and *.ino files can be compilied. File" l:f_name "does not have a recognized extention."
return ""
endif
endfunction
Expand Down

0 comments on commit ffaab21

Please sign in to comment.