diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-30 15:17:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-30 15:17:19 +0200 |
commit | 8e3d1b6326c103cc92f8d07b1161ee5172acf201 (patch) | |
tree | ceaaf7b220e9ce6f4b5b10d2a885e3f606ce94f0 /runtime | |
parent | 06481427005a9dae39721087df94855f7d4d1feb (diff) | |
download | vim-git-8e3d1b6326c103cc92f8d07b1161ee5172acf201.tar.gz |
patch 7.4.1806v7.4.1806
Problem: 'termguicolors' option missing from the options window.
Solution: Add the entry.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/optwin.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 2ba347eee..674d962b9 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: 2016 Apr 21 +" Last Change: 2016 Apr 30 " If there already is an option window, jump to that one. if bufwinnr("option-window") > 0 @@ -412,6 +412,10 @@ call append("$", "highlight\twhich highlighting to use for various occasions") call <SID>OptionG("hl", &hl) call append("$", "hlsearch\thighlight all matches for the last used search pattern") call <SID>BinOptionG("hls", &hls) +if has("termtruecolor") + call append("$", "termguicolors\tuse GUI colors for the terminal") + call <SID>BinOptionG("tgc", &gcol) +endif if has("syntax") call append("$", "cursorcolumn\thighlight the screen column of the cursor") call append("$", "\t(local to window)") |