Skip to content

lspeasy / core/src / writeLspJsonFile

Function: writeLspJsonFile()

ts
function writeLspJsonFile(path, servers): void;

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

Write an lspServers map to a file as pretty JSON, creating parent dirs.

Parameters

ParameterType
pathstring
serversRecord<string, LspServerEntry>

Returns

void

Released under the MIT License.