Skip to content

Commit

Permalink
update Zig Version status bar item
Browse files Browse the repository at this point in the history
- removed redundant "Zig" from text
- changed the Name (that appears in the context menu) from "Zig" to "Zig Version"
  • Loading branch information
Techatrix committed Nov 23, 2024
1 parent 6694773 commit e70b884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zigSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ async function getWantedZigVersion(
}

function updateStatusItem(item: vscode.StatusBarItem, version: semver.SemVer | null) {
item.name = "Zig";
item.text = `Zig ${version?.toString() ?? "not installed"}`;
item.name = "Zig Version";
item.text = version?.toString() ?? "not installed";
item.tooltip = "Select Zig Version";
item.command = {
title: "Select Version",
Expand Down

0 comments on commit e70b884

Please sign in to comment.