nvim_runtime_lua

lsp.InlineValueEvaluatableExpression

To compute an inline value through an expression evaluation.

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

An optional expression could be evaluated instead of the extracted expression.

Fields2

InlineValueEvaluatableExpression.range : lsp.Range

The document range for which the inline value applies.

The range could be used to extract the evaluatable expression from the underlying document.

InlineValueEvaluatableExpression.expression : nil | string

If specified the expression could be evaluated instead.