chore: format code

This commit is contained in:
GitHub Action
2025-12-18 19:38:25 +00:00
parent ab9ac7c87a
commit 67cfd7f06b
2 changed files with 15 additions and 7 deletions

View File

@@ -64,13 +64,13 @@ export namespace LSP {
const filterExperimentalServers = (servers: Record<string, LSPServer.Info>) => {
if (Flag.OPENCODE_EXPERIMENTAL_LSP_TY) {
// If experimental flag is enabled, disable pyright
if(servers["pyright"]) {
if (servers["pyright"]) {
log.info("LSP server pyright is disabled because OPENCODE_EXPERIMENTAL_LSP_TY is enabled")
delete servers["pyright"]
}
} else {
// If experimental flag is disabled, disable ty
if(servers["ty"]) {
if (servers["ty"]) {
delete servers["ty"]
}
}