mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
docs(api): specify when decor provider on_buf callback is called
This commit is contained in:
parent
160cbd0ef4
commit
5a5576c1c2
@ -2847,8 +2847,8 @@ nvim_set_decoration_provider({ns_id}, {opts})
|
||||
• on_start: called first on each screen redraw >
|
||||
["start", tick]
|
||||
<
|
||||
• on_buf: called for each buffer being redrawn (before window
|
||||
callbacks) >
|
||||
• on_buf: called for each buffer being redrawn (once per
|
||||
edit, before window callbacks) >
|
||||
["buf", bufnr, tick]
|
||||
<
|
||||
• on_win: called when starting to redraw a specific window. >
|
||||
|
4
runtime/lua/vim/_meta/api.lua
generated
4
runtime/lua/vim/_meta/api.lua
generated
@ -2134,8 +2134,8 @@ function vim.api.nvim_set_current_win(window) end
|
||||
--- ```
|
||||
--- ["start", tick]
|
||||
--- ```
|
||||
--- - on_buf: called for each buffer being redrawn (before
|
||||
--- window callbacks)
|
||||
--- - on_buf: called for each buffer being redrawn (once per edit,
|
||||
--- before window callbacks)
|
||||
--- ```
|
||||
--- ["buf", bufnr, tick]
|
||||
--- ```
|
||||
|
@ -1012,8 +1012,8 @@ void nvim_buf_clear_namespace(Buffer buffer, Integer ns_id, Integer line_start,
|
||||
/// ```
|
||||
/// ["start", tick]
|
||||
/// ```
|
||||
/// - on_buf: called for each buffer being redrawn (before
|
||||
/// window callbacks)
|
||||
/// - on_buf: called for each buffer being redrawn (once per edit,
|
||||
/// before window callbacks)
|
||||
/// ```
|
||||
/// ["buf", bufnr, tick]
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user