some deletions
[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
deleted file mode 100644 (file)
index 8da4625..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.openPlayground = void 0;
-const coc_nvim_1 = require("coc.nvim");
-const tools_1 = require("./tools");
-const binaries_1 = require("../binaries");
-async function openPlayground(document) {
-    return runGoplay(document.getText());
-}
-exports.openPlayground = openPlayground;
-async function runGoplay(code) {
-    try {
-        const stdout = await tools_1.execTool(binaries_1.GOPLAY, ['-'], code);
-        coc_nvim_1.workspace.showMessage(stdout);
-        return true;
-    }
-    catch (err) {
-        coc_nvim_1.workspace.showMessage(`${err}`, "error");
-        return false;
-    }
-}
-//# sourceMappingURL=playground.js.map
\ No newline at end of file