docs: autocmds, misc

This commit is contained in:
Justin M. Keyes
2023-06-23 12:16:55 +02:00
parent 036da0d079
commit 49a7585981
13 changed files with 64 additions and 54 deletions

View File

@@ -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, {