Skip to content

Commit

Permalink
Add some files to append rtp
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jul 3, 2014
1 parent 7ea3cd7 commit 900f2de
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugin/gocode.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if $GOPATH == ''
finish
endif

let s:list_separator = (has('win32') || has('win64')) ? ';' : ':'

exe "set rtp+=" . globpath(substitute($GOPATH, s:list_separator, ',', 'g'), "src/github.com/nsf/gocode/vim")
7 changes: 7 additions & 0 deletions plugin/lint.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if $GOPATH == ''
finish
endif

let s:list_separator = (has('win32') || has('win64')) ? ';' : ':'

exe "set rtp+=" . globpath(substitute($GOPATH, s:list_separator, ',', 'g'), "src/github.com/golang/lint/misc/vim")
7 changes: 7 additions & 0 deletions plugin/oracle.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if $GOPATH == ''
finish
endif

let s:list_separator = (has('win32') || has('win64')) ? ';' : ':'

exe "set rtp+=" . globpath(substitute($GOPATH, s:list_separator, ',', 'g'), "src/code.google.com/p/go.tools/cmd/misc/vim")

0 comments on commit 900f2de

Please sign in to comment.