nvim_runtime_lua

lsp.LinkedEditingRanges

The result of a linked editing range request.

Fields2

LinkedEditingRanges.ranges : lsp.Range[]

A list of ranges that can be edited together. The ranges must have identical length and contain identical text content. The ranges cannot overlap.

LinkedEditingRanges.wordPattern : nil | string

An optional word pattern (regular expression) that describes valid contents for the given ranges. If no pattern is provided, the client configuration's word pattern will be used.