Created
October 12, 2016 19:59
-
-
Save wordijp/ff4d4f46497355b3ebc1ce7207e36055 to your computer and use it in GitHub Desktop.
Vim8.0のvim-goをWindowsで動くようにする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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