registerHoverProvider

Register a hover provider.

Multiple providers can be registered for a language. In that case providers are asked in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause a failure of the whole operation.

Parameters

selector

A selector that defines the documents this provider is applicable to.

provider

A hover provider.