You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For details, see `:h completeopt` in vim.
vim has many flags of option &completeopt, the flags like menu, menuone,
noinsert, noselect and so on control the autocomplete behaviour.
e.g. if the set completeopt=menu, and there's only one possible
completions, the vim will not popup a menu and just insert the
completions, this like auto insert __init__ describe above, user there's
no chance to confirm the completions they want or not.
but if set completeopt=menuone,noinsert, vim will popup menu also when
there is only one match. for case above, vim will popup a menu with one
completion item __init__ and let user choose insert it or escape, if add
noselect with &completeopt, vim will even not selected the first
completion item.
0 commit comments