Mercurial > vim
comparison runtime/optwin.vim @ 9042:21bd2230c5cd v7.4.1806
commit https://github.com/vim/vim/commit/8e3d1b6326c103cc92f8d07b1161ee5172acf201
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 30 15:17:19 2016 +0200
patch 7.4.1806
Problem: 'termguicolors' option missing from the options window.
Solution: Add the entry.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Apr 2016 15:30:06 +0200 |
parents | b4be6f6610a0 |
children | 057fb9d0191b |
comparison
equal
deleted
inserted
replaced
9041:34c45ee4210d | 9042:21bd2230c5cd |
---|---|
1 " These commands create the option window. | 1 " These commands create the option window. |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2016 Apr 21 | 4 " Last Change: 2016 Apr 30 |
5 | 5 |
6 " If there already is an option window, jump to that one. | 6 " If there already is an option window, jump to that one. |
7 if bufwinnr("option-window") > 0 | 7 if bufwinnr("option-window") > 0 |
8 let s:thiswin = winnr() | 8 let s:thiswin = winnr() |
9 while 1 | 9 while 1 |
410 endif | 410 endif |
411 call append("$", "highlight\twhich highlighting to use for various occasions") | 411 call append("$", "highlight\twhich highlighting to use for various occasions") |
412 call <SID>OptionG("hl", &hl) | 412 call <SID>OptionG("hl", &hl) |
413 call append("$", "hlsearch\thighlight all matches for the last used search pattern") | 413 call append("$", "hlsearch\thighlight all matches for the last used search pattern") |
414 call <SID>BinOptionG("hls", &hls) | 414 call <SID>BinOptionG("hls", &hls) |
415 if has("termtruecolor") | |
416 call append("$", "termguicolors\tuse GUI colors for the terminal") | |
417 call <SID>BinOptionG("tgc", &gcol) | |
418 endif | |
415 if has("syntax") | 419 if has("syntax") |
416 call append("$", "cursorcolumn\thighlight the screen column of the cursor") | 420 call append("$", "cursorcolumn\thighlight the screen column of the cursor") |
417 call append("$", "\t(local to window)") | 421 call append("$", "\t(local to window)") |
418 call <SID>BinOptionL("cuc") | 422 call <SID>BinOptionL("cuc") |
419 call append("$", "cursorline\thighlight the screen line of the cursor") | 423 call append("$", "cursorline\thighlight the screen line of the cursor") |