mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
vim-patch:9.1.1409: using f-flag in 'complete' conflicts with Neovim
Problem: using f-flag in 'complete' conflicts with Neovims filename
completion (glepnir, after v9.1.1301).
Solution: use upper-case "F" flag for completion functions
(Girish Palya).
fixes: vim/vim#17347
closes: vim/vim#17378
14f6da5ba8
Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
@@ -864,11 +864,11 @@ const char *did_set_complete(optset_T *args)
|
||||
}
|
||||
*buf_ptr = NUL;
|
||||
|
||||
if (vim_strchr(".wbuksid]tUfo", (uint8_t)(*buffer)) == NULL) {
|
||||
if (vim_strchr(".wbuksid]tUfFo", (uint8_t)(*buffer)) == NULL) {
|
||||
return illegal_char(args->os_errbuf, args->os_errbuflen, (uint8_t)(*buffer));
|
||||
}
|
||||
|
||||
if (vim_strchr("ksf", (uint8_t)(*buffer)) == NULL && *(buffer + 1) != NUL
|
||||
if (vim_strchr("ksF", (uint8_t)(*buffer)) == NULL && *(buffer + 1) != NUL
|
||||
&& *(buffer + 1) != '^') {
|
||||
char_before = (uint8_t)(*buffer);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user