diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-23 12:16:55 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2023-06-25 17:25:47 +0200 |
commit | 49a7585981cdf7403e76a614558e602a98e64301 (patch) | |
tree | ec96c69f44cf0588e5a409fd9aea31662ad5abbe /src/nvim | |
parent | 036da0d07921e67090d1a62c9a4e382ca09d8584 (diff) | |
download | rneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.gz rneovim-49a7585981cdf7403e76a614558e602a98e64301.tar.bz2 rneovim-49a7585981cdf7403e76a614558e602a98e64301.zip |
docs: autocmds, misc
Diffstat (limited to 'src/nvim')
-rw-r--r-- | src/nvim/api/buffer.c | 2 | ||||
-rw-r--r-- | src/nvim/api/extmark.c | 2 |
2 files changed, 2 insertions, 2 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, { diff --git a/src/nvim/api/extmark.c b/src/nvim/api/extmark.c index a101e1bbf1..0608a8961d 100644 --- a/src/nvim/api/extmark.c +++ b/src/nvim/api/extmark.c @@ -320,7 +320,7 @@ ArrayOf(Integer) nvim_buf_get_extmark_by_id(Buffer buffer, Integer ns_id, /// local ms = api.nvim_buf_get_extmarks(0, ns, {2,0}, {2,0}, {}) /// -- Get all marks in this buffer + namespace. /// local all = api.nvim_buf_get_extmarks(0, ns, 0, -1, {}) -/// print(vim.inspect(ms)) +/// vim.print(ms) /// </pre> /// /// @param buffer Buffer handle, or 0 for current buffer |