Skip to content

Commit

Permalink
chore: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
kobyhallx committed Feb 12, 2024
1 parent fc5d177 commit 01425f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ async function didOpenTextDocument(document: TextDocument): Promise<Disposable>

await addWorkspaceClient(folder);

let currentLspClient = lspClients.get(folder.uri.toString());
let statusBarItem = getNoirStatusBarItem();
const currentLspClient = lspClients.get(folder.uri.toString());
const statusBarItem = getNoirStatusBarItem();
statusBarItem.tooltip = currentLspClient.command;
statusBarItem.show();

Expand Down
2 changes: 1 addition & 1 deletion src/noir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function handleClientStartError(err: Error) {
const backgroundColor = new ThemeColor('statusBarItem.errorBackground');
const foregroundColor = new ThemeColor('statusBarItem.errorForeground');

let statusBarItem = getNoirStatusBarItem();
const statusBarItem = getNoirStatusBarItem();
statusBarItem.backgroundColor = backgroundColor;
statusBarItem.color = foregroundColor;
statusBarItem.tooltip = err.markdownMessage;
Expand Down

0 comments on commit 01425f7

Please sign in to comment.