runtime(doc): improve 'complete' option description

Add minimal reference to LSP. It might help new users.

closes: #18276

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Girish Palya
2025-09-11 15:19:22 -04:00
committed by Christian Brabandt
parent 9e100b8d14
commit f35a2af8ef
2 changed files with 6 additions and 5 deletions

View File

@ -2164,8 +2164,9 @@ A jump table for the options with a short description can be found at |Q_op|.
is especially important for |ins-autocompletion|.
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
the 'omnifunc' option.
o equivalent to "F{func}", where {func} is taken from the 'omnifunc'
option. If a plugin (such as an LSP client) defines 'omnifunc', it
can be used through this flag.
Unloaded buffers are not loaded, thus their autocmds |:autocmd| are
not executed, this may lead to unexpected completions from some files