mirror of
https://github.com/open-goal/opengoal-vscode.git
synced 2024-10-19 20:47:37 -04:00
Fix comments not being tokenized properly if the "head" of a form, show LSP version (#66)
This commit is contained in:
parent
026133a7ae
commit
c1a7356c39
|
@ -42,7 +42,7 @@ function updateStatus(status: LspStatus, extraInfo?: string) {
|
|||
break;
|
||||
case "started":
|
||||
lspStatusItem.text = "$(circle-filled) OpenGOAL LSP Ready";
|
||||
lspStatusItem.tooltip = "LSP Active";
|
||||
lspStatusItem.tooltip = `LSP Active - ${extraInfo}`;
|
||||
lspStatusItem.command = "opengoal.lsp.showLspStartedMenu";
|
||||
break;
|
||||
case "downloading":
|
||||
|
@ -196,7 +196,7 @@ async function startClient(): Promise<void> {
|
|||
updateStatus("starting");
|
||||
await client.start();
|
||||
activeClient = client;
|
||||
updateStatus("started");
|
||||
updateStatus("started", path.basename(opengoalLspPath));
|
||||
} catch (error) {
|
||||
console.error("opengoal-lsp:", error);
|
||||
updateStatus("error");
|
||||
|
|
|
@ -202,6 +202,9 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
{
|
||||
"include": "#keyfn"
|
||||
},
|
||||
|
@ -263,7 +266,7 @@
|
|||
"name": "meta.var.opengoal-ir"
|
||||
},
|
||||
"readerMacros": {
|
||||
"match": "('|,@|`|,)",
|
||||
"match": "('|,@|`|,|&->)",
|
||||
"name": "keyword.operator.opengoal-ir"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -202,6 +202,9 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
{
|
||||
"include": "#keyfn"
|
||||
},
|
||||
|
@ -263,7 +266,7 @@
|
|||
"name": "meta.var.opengoal"
|
||||
},
|
||||
"readerMacros": {
|
||||
"match": "('|,@|`|,)",
|
||||
"match": "('|,@|`|,|&->)",
|
||||
"name": "keyword.operator.opengoal"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue