diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-14 18:52:16 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-14 18:57:35 -0700 |
commit | ffdf8c4c1227874a62b950cc7138005b40004c6a (patch) | |
tree | 63a0fde18014ec2be04cadc81486cf7fe5243ef6 /src/nvim/api/vim.c | |
parent | f2c75ef9b481e6c3b65f7b37a3c8e8afc5c73be3 (diff) | |
download | rneovim-ffdf8c4c1227874a62b950cc7138005b40004c6a.tar.gz rneovim-ffdf8c4c1227874a62b950cc7138005b40004c6a.tar.bz2 rneovim-ffdf8c4c1227874a62b950cc7138005b40004c6a.zip |
Context: rename "buflist" => "bufs"
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index ab67bc2a3e..602733fd31 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -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")) { |