Skip to content

Commit

Permalink
🔖 v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
UltiRequiem committed Aug 15, 2021
1 parent 48eb152 commit 71f75a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coc-zig",
"version": "0.3.0",
"version": "0.3.1",
"description": "Zig language server provider extension using ZLS for coc.nvim",
"author": "Eliaz Bobadilla <eliaz.bobadilladev@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -57,6 +57,14 @@
"type": "boolean",
"default": true,
"description": "Enable Startup message for coc-zig"
},
"zig.path": {
"type": "string",
"description": "ZSL Path"
},
"zig.debugLog": {
"type": "boolean",
"default": false
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ async function activate(context: ExtensionContext): Promise<void> {
};

const client = new LanguageClient('zls', LSP_NAME, serverOptions, clientOptions);

// Client Start
context.subscriptions.push(services.registLanguageClient(client));

if (config.get<boolean>('startUpMessage', true)) {
window.showMessage('${lspName} running!');
window.showMessage(`${LSP_NAME} running!`);
}
}

Expand Down

0 comments on commit 71f75a1

Please sign in to comment.