Merge pull request #1498 from gsd-build/fix/lsp-get-server-for-file

fix: restore LSP single-server selector export
This commit is contained in:
TÂCHES 2026-03-19 15:53:26 -06:00 committed by GitHub
commit efc23a2342

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;
}