mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
docs: api, misc
This commit is contained in:
@@ -87,7 +87,7 @@ Integer nvim_buf_line_count(Buffer buffer, Error *err)
|
||||
return buf->b_ml.ml_line_count;
|
||||
}
|
||||
|
||||
/// Activates buffer-update events on a channel, or as Lua callbacks.
|
||||
/// Activates |api-buffer-updates| events on a channel, or as Lua callbacks.
|
||||
///
|
||||
/// Example (Lua): capture buffer updates in a global `events` variable
|
||||
/// (use "vim.print(events)" to see its contents):
|
||||
|
@@ -407,7 +407,7 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e
|
||||
/// EOL of a line, continue the highlight for the rest
|
||||
/// of the screen line (just like for diff and
|
||||
/// cursorline highlight).
|
||||
/// - virt_text : virtual text to link to this mark.
|
||||
/// - virt_text : [](virtual-text) to link to this mark.
|
||||
/// A list of `[text, highlight]` tuples, each representing a
|
||||
/// text chunk with specified highlight. `highlight` element
|
||||
/// can either be a single highlight group, or an array of
|
||||
|
Reference in New Issue
Block a user