aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-07-02 18:08:25 -0400
committerJustin M. Keyes <justinkz@gmail.com>2016-07-02 20:36:31 -0400
commitfab62141c8bd10bc55d857e94e5b686434015d34 (patch)
treee39d53478cfe7e235b49862162abd4b858768eff /src/nvim/main.c
parentc5b02d5a7a0a19b338ff2cbf610210058eac0a10 (diff)
downloadrneovim-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/main.c')
-rw-r--r--src/nvim/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index a876a0ad21..5cd1dbb467 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -276,7 +276,6 @@ int main(int argc, char **argv)
printf(_("%d files to edit\n"), GARGCOUNT);
full_screen = true;
- t_colors = 256;
check_tty(&params);
/*
@@ -1671,8 +1670,6 @@ static bool do_user_initialization(void)
}
/// Source startup scripts
-///
-/// @param[in]
static void source_startup_scripts(const mparm_T *const parmp)
FUNC_ATTR_NONNULL_ALL
{