nvim_runtime_lua

lsp.InlineValueVariableLookup

To compute inline value through a variable lookup.

If only a range is specified, the variable name should be extracted from the underlying document.

An optional variable name could be used to lookup instead of the extracted name.

Fields3

InlineValueVariableLookup.range : lsp.Range

The document range for which the inline value applies.

The range could be used to extract the variable name from the underlying document.

InlineValueVariableLookup.variableName : nil | string

If specified the name of the variable to look up.

InlineValueVariableLookup.caseSensitiveLookup : boolean

How to perform the lookup.