diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-07-02 18:08:25 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-07-02 20:36:31 -0400 |
commit | fab62141c8bd10bc55d857e94e5b686434015d34 (patch) | |
tree | e39d53478cfe7e235b49862162abd4b858768eff /src/nvim/globals.h | |
parent | c5b02d5a7a0a19b338ff2cbf610210058eac0a10 (diff) | |
download | rneovim-fab62141c8bd10bc55d857e94e5b686434015d34.tar.gz rneovim-fab62141c8bd10bc55d857e94e5b686434015d34.tar.bz2 rneovim-fab62141c8bd10bc55d857e94e5b686434015d34.zip |
options: Default t_Co to 256.
This commit doesn't change any behavior, only moves the init out of main.c We
_could_ move some initialization from tui.c:terminfo_start to an earlier phase,
in order to avoid mis-reporting 't_Co' during startup. But this will be messy,
and gains very little: TERM=linux works "good enough" as long as we correct t_Co
in tui.c:terminfo_start (c5b02d5a7).
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 42fde50bee..7f91903106 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -414,7 +414,7 @@ EXTERN int provider_call_nesting INIT(= 0); EXTERN char_u hash_removed; -EXTERN int t_colors INIT(= 0); /* int value of T_CCO */ +EXTERN int t_colors INIT(= 256); // int value of T_CCO /* * When highlight_match is TRUE, highlight a match, starting at the cursor |