fix: restore lsp single-server selector export

This commit is contained in:
Lex Christopherson 2026-03-19 15:46:20 -06:00
parent 66bca9c8a2
commit 5e501d59a0

View file

@ -319,3 +319,6 @@ export function getServersForFile(config: LspConfig, filePath: string): Array<[s
});
}
export function getServerForFile(config: LspConfig, filePath: string): [string, ServerConfig] | null {
return getServersForFile(config, filePath)[0] ?? null;
}