Skip to content

lspeasy / core/src / readLspJsonFile

Function: readLspJsonFile() ​

ts
function readLspJsonFile(path): Record<string, LspServerEntry>;

Defined in: packages/core/src/discover.ts:218

Read a single lsp.json file's lspServers map. Returns {} when missing or unparseable.

Parameters ​

ParameterType
pathstring

Returns ​

Record<string, LspServerEntry>

Released under the MIT License.