mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 13:58:18 +00:00
docs: autocmds, misc
This commit is contained in:
@@ -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, {
|
||||
|
Reference in New Issue
Block a user