Skip to content

Commit

Permalink
Merge pull request #14 from dmathieu/home-dir-darwin
Browse files Browse the repository at this point in the history
Get the proper home dir on darwin
  • Loading branch information
stevearc committed Nov 20, 2018
2 parents 86b1e7f + 593b6a7 commit 955dad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/arduino.vim
Expand Up @@ -482,6 +482,10 @@ function! arduino#GetArduinoHomeDir() abort
if exists('g:arduino_home_dir')
return g:arduino_home_dir
endif
if s:OS == 'Darwin'
return $HOME . "/Library/Arduino15"
endif

return $HOME . "/.arduino15"
endfunction

Expand Down

0 comments on commit 955dad6

Please sign in to comment.