Replace YanRing with yank-stack and update plugins
This commit is contained in:
1 parent
2ca843a22a
commit
53894de44b
72 files changed
+1663
-5015
No files matched your search
@@ -174,11 +174,6 @@ function! go#tool#ExecuteInDir(cmd) abort
|
||||
return ''
|
||||
endif
|
||||
|
||||
let old_gopath = $GOPATH
|
||||
let old_goroot = $GOROOT
|
||||
let $GOPATH = go#path#Detect()
|
||||
let $GOROOT = go#util#env("goroot")
|
||||
|
||||
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
|
||||
let dir = getcwd()
|
||||
try
|
||||
@@ -187,9 +182,6 @@ function! go#tool#ExecuteInDir(cmd) abort
|
||||
finally
|
||||
execute cd . fnameescape(dir)
|
||||
endtry
|
||||
|
||||
let $GOROOT = old_goroot
|
||||
let $GOPATH = old_gopath
|
||||
return out
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user