fix: restore lsp single-server selector export
This commit is contained in:
parent
66bca9c8a2
commit
5e501d59a0
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue