mirror of
https://github.com/neovim/neovim.git
synced 2026-02-09 05:18:45 +00:00
vim-patch:093d0cb: runtime(doc): Clarify the behaviour of command completion functions (#37680)
closes: vim/vim#19294
093d0cb1cf
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1450,7 +1450,8 @@ candidates as a Vim List. Non-string items in the list are ignored.
|
||||
|
||||
The function arguments are:
|
||||
ArgLead the leading portion of the argument currently being
|
||||
completed on
|
||||
completed on; note that this only captures the current
|
||||
space-separated word, even when using "-nargs=1"
|
||||
CmdLine the entire command line
|
||||
CursorPos the cursor position in it (byte index)
|
||||
The function may use these for determining context. For the "custom"
|
||||
|
||||
Reference in New Issue
Block a user