This commit is contained in:
parent
8bc1936de8
commit
4ff11fb733
|
@ -167,6 +167,7 @@ func AutocompleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
libPath := userLib + string(os.PathListSeparator) + masterLib
|
libPath := userLib + string(os.PathListSeparator) + masterLib
|
||||||
//glog.Infof("gocode set lib-path %s", libPath)
|
//glog.Infof("gocode set lib-path %s", libPath)
|
||||||
|
|
||||||
|
// FIXME: 使用 gocode set lib-path 在多工作空间环境下肯定是有问题的,需要考虑其他实现方式
|
||||||
argv := []string{"set", "lib-path", libPath}
|
argv := []string{"set", "lib-path", libPath}
|
||||||
exec.Command("gocode", argv...).Start()
|
exec.Command("gocode", argv...).Start()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue