Mercurial > vim
comparison src/insexpand.c @ 34470:dd8f5311cee5 v9.1.0147
patch 9.1.0147: Cannot keep a buffer focused in a window
Commit: https://github.com/vim/vim/commit/215703563757a4464907ead6fb9edaeb7f430bea
Author: Colin Kennedy <colinvfx@gmail.com>
Date: Sun Mar 3 16:16:47 2024 +0100
patch 9.1.0147: Cannot keep a buffer focused in a window
Problem: Cannot keep a buffer focused in a window
(Amit Levy)
Solution: Add the 'winfixbuf' window-local option
(Colin Kennedy)
fixes: #6445
closes: #13903
Signed-off-by: Colin Kennedy <colinvfx@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Mar 2024 16:30:06 +0100 |
parents | a059fc613d55 |
children | 9e093c96dff6 |
comparison
equal
deleted
inserted
replaced
34469:055c08ca0446 | 34470:dd8f5311cee5 |
---|---|
3405 find_pattern_in_path(compl_pattern, compl_direction, | 3405 find_pattern_in_path(compl_pattern, compl_direction, |
3406 (int)STRLEN(compl_pattern), FALSE, FALSE, | 3406 (int)STRLEN(compl_pattern), FALSE, FALSE, |
3407 (compl_type == CTRL_X_PATH_DEFINES | 3407 (compl_type == CTRL_X_PATH_DEFINES |
3408 && !(compl_cont_status & CONT_SOL)) | 3408 && !(compl_cont_status & CONT_SOL)) |
3409 ? FIND_DEFINE : FIND_ANY, 1L, ACTION_EXPAND, | 3409 ? FIND_DEFINE : FIND_ANY, 1L, ACTION_EXPAND, |
3410 (linenr_T)1, (linenr_T)MAXLNUM); | 3410 (linenr_T)1, (linenr_T)MAXLNUM, FALSE); |
3411 } | 3411 } |
3412 #endif | 3412 #endif |
3413 | 3413 |
3414 /* | 3414 /* |
3415 * Get the next set of words matching "compl_pattern" in dictionary or | 3415 * Get the next set of words matching "compl_pattern" in dictionary or |