diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-05-02 07:34:06 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-05-10 06:04:26 -0400 |
commit | acc5d08b371c9521d63aa4a37cce9ffab451d21d (patch) | |
tree | 394d063dd69bcf8d2f0f24f8a9a8f53982e49950 /src/nvim/tui | |
parent | a5a1768918286ef3ac4181b45b8b7eafb37767ac (diff) | |
download | rneovim-acc5d08b371c9521d63aa4a37cce9ffab451d21d.tar.gz rneovim-acc5d08b371c9521d63aa4a37cce9ffab451d21d.tar.bz2 rneovim-acc5d08b371c9521d63aa4a37cce9ffab451d21d.zip |
'termguicolors' #4690
TODO: Only works at startup (i.e., in the user's init.vim/vimrc/--cmd),
but it should probably work at any time.
---
patch 7.4.1799
Problem: 'guicolors' is a confusing option name.
Solution: Use 'termguicolors' instead. (Hirohito Higashi)
https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
patch 7.4.1806
Problem: 'termguicolors' option missing from the options window.
Solution: Add the entry.
https://github.com/vim/vim/commit/8e3d1b6326c103cc92f8d07b1161ee5172acf201
patch 7.4.1808
Problem: Using wrong feature name to check for 'termguicolors'.
Solution: Use the right feature name. (Ken Takata)
https://github.com/vim/vim/commit/8a24b794b89916c8074892e7b25121a21f1fa9c9
patch 7.4.1809
Problem: Using wrong short option name for 'termguicolors'.
Solution: Use the option name.
https://github.com/vim/vim/commit/868cfc19bb079a16ca58884b551486566f35419b
Diffstat (limited to 'src/nvim/tui')
-rw-r--r-- | src/nvim/tui/tui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index e1c0407b27..202c5666a1 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -81,7 +81,7 @@ UI *tui_start(void) { UI *ui = xcalloc(1, sizeof(UI)); ui->stop = tui_stop; - ui->rgb = os_getenv("NVIM_TUI_ENABLE_TRUE_COLOR") != NULL; + ui->rgb = p_tgc; ui->resize = tui_resize; ui->clear = tui_clear; ui->eol_clear = tui_eol_clear; |