coc-vscode-loader 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +6 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  "package.json"(exports2, module2) {
40
40
  module2.exports = {
41
41
  name: "coc-vscode-loader",
42
- version: "1.1.4",
42
+ version: "1.1.5",
43
43
  description: "Run VS Code extensions seamlessly in coc.nvim",
44
44
  main: "lib/index.js",
45
45
  keywords: [
@@ -1058,11 +1058,14 @@ var TUI = class {
1058
1058
  `);
1059
1059
  }
1060
1060
  await this.setupKeymaps();
1061
- updateRegistry().then(() => this.state.refreshPackages()).catch(() => {
1061
+ await this.render();
1062
+ updateRegistry().then(() => {
1063
+ this.state.refreshPackages();
1064
+ this.render();
1065
+ }).catch(() => {
1062
1066
  this.state.setStatusMessage("Failed to fetch remote registry (offline?)");
1063
1067
  setTimeout(() => this.state.setStatusMessage(), 5e3);
1064
1068
  });
1065
- await this.render();
1066
1069
  }
1067
1070
  async getCursorLine0() {
1068
1071
  const nvim = import_coc2.workspace.nvim;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-vscode-loader",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Run VS Code extensions seamlessly in coc.nvim",
5
5
  "main": "lib/index.js",
6
6
  "keywords": [