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: #17347
closes: #17378
Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index f0a7e9e..b1f3e15 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2085,7 +2085,7 @@
|i_CTRL-X_CTRL-D|
] tag completion
t same as "]"
- f{func} call the function {func}. Multiple "f" flags may be specified.
+ F{func} call the function {func}. Multiple "F" flags may be specified.
Refer to |complete-functions| for details on how the function
is invoked and what it should return. The value can be the
name of a function or a |Funcref|. For |Funcref| values,
@@ -2103,9 +2103,9 @@
If generating matches is potentially slow, |complete_check()|
should be used to avoid blocking and preserve editor
responsiveness.
- f equivalent to using "f{func}", where the function is taken from
+ F equivalent to using "F{func}", where the function is taken from
the 'completefunc' option.
- o equivalent to using "f{func}", where the function is taken from
+ o equivalent to using "F{func}", where the function is taken from
the 'omnifunc' option.
Unloaded buffers are not loaded, thus their autocmds |:autocmd| are
diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt
index 662cb17..5cffb63 100644
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -41624,8 +41624,8 @@
- New option value for 'wildmode':
"noselect" - do not auto select an entry in the wildmenu
- New flags for 'complete':
- "f{func}" - complete using given function
- "f" - complete using 'completefunc'
+ "F{func}" - complete using given function
+ "F" - complete using 'completefunc'
"o" - complete using 'omnifunc'
- allow to limit matches for the 'complete' sources by using the
"{flag}^<limit>" notation