aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-23 12:16:55 +0200
committerJustin M. Keyes <justinkz@gmail.com>2023-06-25 17:25:47 +0200
commit49a7585981cdf7403e76a614558e602a98e64301 (patch)
treeec96c69f44cf0588e5a409fd9aea31662ad5abbe /src/nvim/api/buffer.c
parent036da0d07921e67090d1a62c9a4e382ca09d8584 (diff)
downloadrneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.gz
rneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.bz2
rneovim-49a7585981cdf7403e76a614558e602a98e64301.zip
docs: autocmds, misc
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, {