summaryrefslogtreecommitdiff
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-21 23:09:50 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-21 23:09:50 +0100
commita2a80162deb1e96e16b097dfe48b61b6eb0824bf (patch)
treede33cc8d6163c28aa105a087126dc565d540bb55 /runtime/optwin.vim
parent52dbb5ea7fde4a77178bc59e2383ca40df503812 (diff)
downloadvim-git-a2a80162deb1e96e16b097dfe48b61b6eb0824bf.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim14
1 files changed, 10 insertions, 4 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 127232f26..74ebc9fd9 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2017 Oct 19
+" Last Change: 2017 Nov 21
" If there already is an option window, jump to that one.
let buf = bufnr('option-window')
@@ -647,11 +647,17 @@ if has("gui")
endif
call append("$", "linespace\tnumber of pixel lines to use between characters")
call append("$", " \tset lsp=" . &lsp)
- if has("balloon_eval")
+ if has("balloon_eval") || has("balloon_eval_term")
call append("$", "balloondelay\tdelay in milliseconds before a balloon may pop up")
call append("$", " \tset bdlay=" . &bdlay)
- call append("$", "ballooneval\twhether the balloon evaluation is to be used")
- call <SID>BinOptionG("beval", &beval)
+ if has("balloon_eval")
+ call append("$", "ballooneval\tuse balloon evaluation in the GUI")
+ call <SID>BinOptionG("beval", &beval)
+ endif
+ if has("balloon_eval_term")
+ call append("$", "balloonevalterm\tuse balloon evaluation in the terminal")
+ call <SID>BinOptionG("bevalterm", &beval)
+ endif
if has("eval")
call append("$", "balloonexpr\texpression to show in balloon eval")
call append("$", " \tset bexpr=" . &bexpr)