runtime/optwin.vim: feature-check 'pw' option

Option not implemented yet.
This commit is contained in:
Justin M. Keyes 2018-10-29 10:24:01 +01:00
parent 228bc4c416
commit 6d1827aebc

View File

@ -765,8 +765,10 @@ if has("insert_expand")
call <SID>OptionG("cot", &cot)
call append("$", "pumheight\tmaximum height of the popup menu")
call <SID>OptionG("ph", &ph)
call append("$", "pumwidth\tminimum width of the popup menu")
call <SID>OptionG("pw", &pw)
if exists("&pw")
call append("$", "pumwidth\tminimum width of the popup menu")
call <SID>OptionG("pw", &pw)
endif
call append("$", "completefunc\tuser defined function for Insert mode completion")
call append("$", "\t(local to buffer)")
call <SID>OptionL("cfu")