coc-mlir
Version:
MLIR Language Extension
20 lines • 657 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.update = exports.get = void 0;
const vscode = require("coc.nvim");
/**
* Gets the config value `mlir.<key>`, with an optional workspace folder.
*/
function get(key, workspaceFolder = null, defaultValue = undefined) {
return vscode.workspace.getConfiguration('mlir', workspaceFolder)
.get(key, defaultValue);
}
exports.get = get;
/**
* Sets the config value `mlir.<key>`.
*/
function update(key, value, target) {
return vscode.workspace.getConfiguration('mlir').update(key, value, target);
}
exports.update = update;
//# sourceMappingURL=config.js.map