aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-12 10:13:51 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-12 10:13:51 -0500
commit4c55c34efaabaa151391edf59c59a14411a79d8c (patch)
tree47e1caa73bf442035dc3a929c866c27df778dc2b /src/nvim/main.c
parentc53852a244fd78bcf11e37ddc94e8a847e80062a (diff)
parent62c1daffe028185030d0d8e95dc2c6532457b4fa (diff)
downloadrneovim-4c55c34efaabaa151391edf59c59a14411a79d8c.tar.gz
rneovim-4c55c34efaabaa151391edf59c59a14411a79d8c.tar.bz2
rneovim-4c55c34efaabaa151391edf59c59a14411a79d8c.zip
Merge pull request #1657 from tarruda/abstract-ui-fixes
[WIP] "abstract_ui" fixes and improvements
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 1f6c8ddc81..5e9fde67f5 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -281,9 +281,7 @@ int main(int argc, char **argv)
event_init();
- if (abstract_ui) {
- t_colors = 256;
- } else {
+ if (!abstract_ui) {
// Print a warning if stdout is not a terminal TODO(tarruda): Remove this
// check once the new terminal UI is implemented
check_tty(&params);