nvim_runtime_lua

vim.lsp.CTBufferState

Fields8

CTBufferState.name : string

name of the buffer

CTBufferState.lines : string[]

snapshot of buffer lines from last didChange

CTBufferState.lines_tmp : string[]
CTBufferState.pending_changes : table[]

List of debounced changes in incremental sync mode

CTBufferState.timer : uv.uv_timer_t | nil

uv_timer

CTBufferState.last_flush : nil | number

uv.hrtime of the last flush/didChange-notification

CTBufferState.needs_flush : boolean

true if buffer updates haven't been sent to clients/servers yet

CTBufferState.refs : integer

how many clients are using this group