forked from aniani/vim
patch 8.1.1892: missing index entry and option menu for 'completepopup'
Problem: Missing index entry and option menu for 'completepopup'. Solution: Add the entries. Adjust #ifdefs to avoid dead code.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 8.1. Last change: 2019 Aug 01
|
||||
*quickref.txt* For Vim version 8.1. Last change: 2019 Aug 20
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -651,6 +651,7 @@ Short explanation of each option: *option-list*
|
||||
'complete' 'cpt' specify how Insert mode completion works
|
||||
'completefunc' 'cfu' function to be used for Insert mode completion
|
||||
'completeopt' 'cot' options for Insert mode completion
|
||||
'completepopup' 'cpp' options for the Insert mode completion info popup
|
||||
'completeslash' 'csl' like 'shellslash' for completion
|
||||
'concealcursor' 'cocu' whether concealable text is hidden in cursor line
|
||||
'conceallevel' 'cole' whether concealable text is shown or hidden
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" These commands create the option window.
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last Change: 2019 Aug 01
|
||||
" Last Change: 2019 Aug 20
|
||||
|
||||
" If there already is an option window, jump to that one.
|
||||
let buf = bufnr('option-window')
|
||||
@@ -806,6 +806,10 @@ if has("insert_expand")
|
||||
call <SID>OptionL("cpt")
|
||||
call append("$", "completeopt\twhether to use a popup menu for Insert mode completion")
|
||||
call <SID>OptionG("cot", &cot)
|
||||
if exists("+completepopup")
|
||||
call append("$", "completepopup\toptions for the Insert mode completion info popup")
|
||||
call <SID>OptionG("cpp", &cpp)
|
||||
endif
|
||||
call append("$", "pumheight\tmaximum height of the popup menu")
|
||||
call <SID>OptionG("ph", &ph)
|
||||
call append("$", "pumwidth\tminimum width of the popup menu")
|
||||
|
||||
Reference in New Issue
Block a user