mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
vim-patch:9.1.1518: getcompletiontype() may crash (#34819)
Problem: getcompletiontype() crashes when no completion is available
(after v9.1.1509).
Solution: Don't call set_expand_context() (zeertzjq)
fixes: vim/vim#17681
closes: vim/vim#17684
e2c0f81dd0
This commit is contained in:
@@ -3760,8 +3760,8 @@ M.funcs = {
|
||||
|getcmdprompt()|, |getcmdcomplpat()| and |setcmdline()|.
|
||||
Returns an empty string when completion is not defined.
|
||||
|
||||
To get the type of the command-line completion for the
|
||||
specified string, use |getcompletiontype()|.
|
||||
To get the type of the command-line completion for a specified
|
||||
string, use |getcompletiontype()|.
|
||||
]=],
|
||||
name = 'getcmdcompltype',
|
||||
params = {},
|
||||
|
Reference in New Issue
Block a user