mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
docs(api): specify when decor provider on_buf is called #31634
This commit is contained in:
parent
31d6885deb
commit
a5a4149e97
@ -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