aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2024-12-19 16:04:33 +0100
committerGitHub <noreply@github.com>2024-12-19 07:04:33 -0800
commita5a4149e9754a96c063a357c18397aa7906edf53 (patch)
treebf3450d7456115f8267d8dc91cf4510054b3c9af /src
parent31d6885deba01fe0e7262dca58c94220c2fe32fc (diff)
downloadrneovim-a5a4149e9754a96c063a357c18397aa7906edf53.tar.gz
rneovim-a5a4149e9754a96c063a357c18397aa7906edf53.tar.bz2
rneovim-a5a4149e9754a96c063a357c18397aa7906edf53.zip
docs(api): specify when decor provider on_buf is called #31634
Diffstat (limited to 'src')
-rw-r--r--src/nvim/api/extmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c
index c94b8df9ea..55f537e9c9 100644
--- a/src/nvim/api/extmark.c
+++ b/src/nvim/api/extmark.c
@@ -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]
/// ```