diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2018-10-29 10:24:01 +0100 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2018-10-29 10:24:01 +0100 |
| commit | 6d1827aebc88698b75094029fb0a9e45c1d67632 (patch) | |
| tree | 4dd3a3c82b0f4e762d36501f19a652fc6b41ee48 | |
| parent | 228bc4c416092eb2601329aa881915a565ee64d2 (diff) | |
| download | rneovim-6d1827aebc88698b75094029fb0a9e45c1d67632.tar.gz rneovim-6d1827aebc88698b75094029fb0a9e45c1d67632.tar.bz2 rneovim-6d1827aebc88698b75094029fb0a9e45c1d67632.zip | |
runtime/optwin.vim: feature-check 'pw' option
Option not implemented yet.
| -rw-r--r-- | runtime/optwin.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index b1d303009a..1742c64c3e 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -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") |