Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save wordijp/ff4d4f46497355b3ebc1ce7207e36055 to your computer and use it in GitHub Desktop.

Select an option

Save wordijp/ff4d4f46497355b3ebc1ce7207e36055 to your computer and use it in GitHub Desktop.
Vim8.0のvim-goをWindowsで動くようにする
function! go#path#CheckBinPath(binpath)
" 省略
if executable(binpath)
if exists('*exepath')
let binpath = exepath(binpath)
+ let binpath = substitute(binpath, '\', '/', 'g')
endif
let $PATH = old_path
return binpath
endif
" 省略
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment