mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
Context: rename "buflist" => "bufs"
Given the other type names "jumps", "vars", etc., the name "buflist" is somewhat unintuitive.
This commit is contained in:
@@ -1419,7 +1419,7 @@ Dictionary nvim_get_color_map(void)
|
||||
/// Gets a map of the current editor state.
|
||||
///
|
||||
/// @param opts Optional parameters.
|
||||
/// - types: List of |context-types| ("regs", "jumps", "buflist",
|
||||
/// - types: List of |context-types| ("regs", "jumps", "bufs",
|
||||
/// "gvars", …) to gather, or empty for "all".
|
||||
/// @param[out] err Error details, if any
|
||||
///
|
||||
@@ -1453,8 +1453,8 @@ Dictionary nvim_get_context(Dictionary opts, Error *err)
|
||||
int_types |= kCtxRegs;
|
||||
} else if (strequal(s, "jumps")) {
|
||||
int_types |= kCtxJumps;
|
||||
} else if (strequal(s, "buflist")) {
|
||||
int_types |= kCtxBuflist;
|
||||
} else if (strequal(s, "bufs")) {
|
||||
int_types |= kCtxBufs;
|
||||
} else if (strequal(s, "gvars")) {
|
||||
int_types |= kCtxGVars;
|
||||
} else if (strequal(s, "sfuncs")) {
|
||||
|
Reference in New Issue
Block a user