Permalink
Browse files

Use full path for sketch name

  • Loading branch information...
tclem committed Jun 20, 2012
1 parent ac43102 commit 967cdfcef536e771058f6e0927333ee2ed334283
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/vim-arduino.vim
View
2 plugin/vim-arduino.vim 100644 → 100755
@@ -69,7 +69,7 @@ endfunction
" Returns the filename of the current buffer if it is a *.pde file. Otherwise
" empty string.
function! s:CheckFile()
- let l:f_name = bufname("%")
+ let l:f_name = expand('%:p')
if l:f_name =~ '.pde$'
return l:f_name
elseif l:f_name =~ '.ino$'

0 comments on commit 967cdfc

Please sign in to comment.