mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 22:35:33 +00:00
Merge pull request #35536 from bfredl/skipahead
perf(highlight): allow decoration providers to skip ranges without data fixes #35644
This commit is contained in:
7
runtime/lua/vim/_meta/api.lua
generated
7
runtime/lua/vim/_meta/api.lua
generated
@@ -2175,6 +2175,13 @@ function vim.api.nvim_set_current_win(window) end
|
||||
--- ```
|
||||
--- ["range", winid, bufnr, begin_row, begin_col, end_row, end_col]
|
||||
--- ```
|
||||
---
|
||||
--- In addition to returning a boolean, it is also allowed to
|
||||
--- return a `skip_row, skip_col` pair of integers. This implies
|
||||
--- that this function does not need to be called until a range
|
||||
--- which continues beyond the skipped position. A single integer
|
||||
--- return value `skip_row` is short for `skip_row, 0`
|
||||
---
|
||||
--- - on_end: called at the end of a redraw cycle
|
||||
--- ```
|
||||
--- ["end", tick]
|
||||
|
||||
1
runtime/lua/vim/_meta/api_keysets.lua
generated
1
runtime/lua/vim/_meta/api_keysets.lua
generated
@@ -423,6 +423,7 @@ error('Cannot require a meta file')
|
||||
--- @field undo_restore? boolean
|
||||
--- @field url? string
|
||||
--- @field scoped? boolean
|
||||
--- @field _subpriority? integer
|
||||
|
||||
--- @class vim.api.keyset.user_command
|
||||
--- @field addr? any
|
||||
|
||||
Reference in New Issue
Block a user