Skip to content

lspeasy / core/src / findPluginFor

Function: findPluginFor() ​

ts
function findPluginFor(entry, pluginsRoot?): string | undefined;

Defined in: packages/core/src/plugin-resolver.ts:92

Find the plugin id a canonical entry maps to: prefer stamped provenance, else match by command.

Parameters ​

ParameterType
entryLspServerEntry
pluginsRootstring

Returns ​

string | undefined

Released under the MIT License.