Context: rename "buflist" => "bufs"

Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
This commit is contained in:
Justin M. Keyes
2019-09-14 18:52:16 -07:00
parent f2c75ef9b4
commit ffdf8c4c12
8 changed files with 46 additions and 46 deletions

View File

@@ -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")) {