nvim_runtime_lua

vim.lsp.linked_editing_range.state

Global state for linked editing ranges An optional word pattern (regular expression) that describes valid contents for the given ranges.

Fields3

state.word_pattern : string
state.range_index : nil | integer

The index of the range that the cursor is on.

state.namespace : integer

namespace for range extmarks