projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
massive update, probably broken
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-go
/
lib
/
utils
/
playground.js
diff --git
a/.config/coc/extensions/node_modules/coc-go/lib/utils/playground.js
b/.config/coc/extensions/node_modules/coc-go/lib/utils/playground.js
index 8da462578a4e2c77fb5d752d8b35073e5e053046..9fef7962f5afd41dcb9065d5bc4b64f774acbea3 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-go/lib/utils/playground.js
+++ b/
.config/coc/extensions/node_modules/coc-go/lib/utils/playground.js
@@
-10,12
+10,12
@@
async function openPlayground(document) {
exports.openPlayground = openPlayground;
async function runGoplay(code) {
try {
exports.openPlayground = openPlayground;
async function runGoplay(code) {
try {
- const stdout = await
tools_1.execTool
(binaries_1.GOPLAY, ['-'], code);
- coc_nvim_1.w
orkspace
.showMessage(stdout);
+ const stdout = await
(0, tools_1.execTool)
(binaries_1.GOPLAY, ['-'], code);
+ coc_nvim_1.w
indow
.showMessage(stdout);
return true;
}
catch (err) {
return true;
}
catch (err) {
- coc_nvim_1.w
orkspace
.showMessage(`${err}`, "error");
+ coc_nvim_1.w
indow
.showMessage(`${err}`, "error");
return false;
}
}
return false;
}
}