1
0
forked from aniani/vim

patch 9.1.0948: Missing cmdline completion for :pbuffer

Problem:  Missing cmdline completion for :pbuffer.
Solution: Add cmdline completion for :pbuffer like :buffer.
          (zeertzjq)

fixes: #16250
closes: #16251

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-12-19 20:05:28 +01:00
committed by Christian Brabandt
parent b183f50280
commit 3baf19a2b1
3 changed files with 14 additions and 0 deletions

View File

@@ -2332,6 +2332,7 @@ set_context_by_cmdname(
// FALLTHROUGH
case CMD_buffer:
case CMD_sbuffer:
case CMD_pbuffer:
case CMD_checktime:
xp->xp_context = EXPAND_BUFFERS;
xp->xp_pattern = arg;