Skip to content

Commit 7a3d098

Browse files
committed
refer to ZLS as "ZLS language server" instead of "Zig Language Server"
1 parent b592189 commit 7a3d098

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- automatic formatting
1616
- Run/Debug zig program
1717
- Run/Debug tests
18-
- optional [Zig Language Server](https://github.com/zigtools/zls) features
18+
- optional [ZLS language server](https://github.com/zigtools/zls) features
1919
- completions
2020
- goto definition/declaration
2121
- document symbols

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"enumItemLabels": [
123123
"Off",
124124
"Extension",
125-
"Zig Language Server"
125+
"ZLS language server"
126126
],
127127
"enumDescriptions": [
128128
"Disable formatting",
@@ -150,7 +150,7 @@
150150
"zig.zls.enabled": {
151151
"scope": "resource",
152152
"type": "string",
153-
"description": "Whether to enable the optional ZLS Language Server",
153+
"description": "Whether to enable the optional ZLS language server",
154154
"enum": [
155155
"ask",
156156
"off",
@@ -334,17 +334,17 @@
334334
{
335335
"command": "zig.zls.enable",
336336
"title": "Enable Language Server",
337-
"category": "Zig Language Server"
337+
"category": "ZLS language server"
338338
},
339339
{
340340
"command": "zig.zls.startRestart",
341341
"title": "Start / Restart Language Server",
342-
"category": "Zig Language Server"
342+
"category": "ZLS language server"
343343
},
344344
{
345345
"command": "zig.zls.stop",
346346
"title": "Stop Language Server",
347-
"category": "Zig Language Server"
347+
"category": "ZLS language server"
348348
}
349349
],
350350
"jsonValidation": [

src/zls.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ export async function restartClient(context: vscode.ExtensionContext): Promise<v
4646
updateStatusItem(result.version);
4747
} catch (reason) {
4848
if (reason instanceof Error) {
49-
void vscode.window.showWarningMessage(`Failed to run Zig Language Server (ZLS): ${reason.message}`);
49+
void vscode.window.showWarningMessage(`Failed to run ZLS language server: ${reason.message}`);
5050
} else {
51-
void vscode.window.showWarningMessage("Failed to run Zig Language Server (ZLS)");
51+
void vscode.window.showWarningMessage("Failed to run ZLS language server");
5252
}
5353
updateStatusItem(null);
5454
}
@@ -85,7 +85,7 @@ async function startClient(zlsPath: string, zlsVersion: semver.SemVer): Promise<
8585
},
8686
};
8787

88-
const languageClient = new LanguageClient("zig.zls", "Zig Language Server", serverOptions, clientOptions);
88+
const languageClient = new LanguageClient("zig.zls", "ZLS language server", serverOptions, clientOptions);
8989
await languageClient.start();
9090
// Formatting is handled by `zigFormat.ts`
9191
languageClient.getFeature("textDocument/formatting").dispose();
@@ -329,7 +329,7 @@ async function isEnabled(): Promise<boolean> {
329329
return false;
330330
case "ask": {
331331
const response = await vscode.window.showInformationMessage(
332-
"We recommend enabling the ZLS Language Server for a better editing experience. Would you like to install it?",
332+
"We recommend enabling the ZLS language server for a better editing experience. Would you like to install it?",
333333
{ modal: true },
334334
"Yes",
335335
"No",
@@ -410,7 +410,7 @@ export async function activate(context: vscode.ExtensionContext) {
410410
},
411411
};
412412

413-
outputChannel = vscode.window.createOutputChannel("Zig Language Server");
413+
outputChannel = vscode.window.createOutputChannel("ZLS language server");
414414
statusItem = vscode.languages.createLanguageStatusItem("zig.zls.status", ZIG_MODE);
415415
statusItem.name = "ZLS";
416416
updateStatusItem(null);

0 commit comments

Comments
 (0)