mirror of
https://github.com/neovim/neovim.git
synced 2026-05-26 23:08:36 +00:00
feat(api): rename buffer to buf in retval #38900
In3a4a66017b,4d3a67cd62we renamed "buffer" to "buf" in dict parameters. This commit also renames such keys in dict return-values.
This commit is contained in:
@@ -855,7 +855,7 @@ Integer nvim_buf_get_changedtick(Buffer buffer, Error *err)
|
||||
/// @param mode Mode short-name ("n", "i", "v", ...)
|
||||
/// @param[out] err Error details, if any
|
||||
/// @returns Array of |maparg()|-like dictionaries describing mappings.
|
||||
/// The "buffer" key holds the associated buffer id.
|
||||
/// The "buf" key holds the associated buffer id.
|
||||
ArrayOf(DictAs(get_keymap)) nvim_buf_get_keymap(Buffer buffer, String mode, Arena *arena,
|
||||
Error *err)
|
||||
FUNC_API_SINCE(3)
|
||||
|
||||
Reference in New Issue
Block a user