aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-25 09:17:47 -0700
committerGitHub <noreply@github.com>2023-06-25 09:17:47 -0700
commit5ceb2238d3685255cd517ca87fd7edae9ed88811 (patch)
tree5972cd240cb18d50a7d56b3b5e0c1019c947e07a /src/nvim/api/buffer.c
parente59cf3b3a9ee0f9e9b4d2e01059dbdf185eb5685 (diff)
parent49a7585981cdf7403e76a614558e602a98e64301 (diff)
downloadrneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.tar.gz
rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.tar.bz2
rneovim-5ceb2238d3685255cd517ca87fd7edae9ed88811.zip
Merge #24116 from justinmk/doc
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r--src/nvim/api/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 4c3faf8d8b..c1aef53dc0 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -84,7 +84,7 @@ Integer nvim_buf_line_count(Buffer buffer, Error *err)
/// Activates buffer-update events on a channel, or as Lua callbacks.
///
/// Example (Lua): capture buffer updates in a global `events` variable
-/// (use "print(vim.inspect(events))" to see its contents):
+/// (use "vim.print(events)" to see its contents):
/// <pre>lua
/// events = {}
/// vim.api.nvim_buf_attach(0, false, {