From d8f3458ec745cf56dc692b55cc76d8323dbbfc53 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 13 Feb 2015 12:06:08 -0300 Subject: syntax: Refactor to store all term and gui attributes independently Now the attrentry_T structure will store all attributes in separate fields for cterm and rgb UIs. --- src/nvim/hardcopy.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/nvim/hardcopy.c') diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c index c01f763d20..2dbe33d6e2 100644 --- a/src/nvim/hardcopy.c +++ b/src/nvim/hardcopy.c @@ -617,10 +617,7 @@ void ex_hardcopy(exarg_T *eap) eap->forceit) == FAIL) return; - if (t_colors > 1) - settings.modec = 'c'; - else - settings.modec = 't'; + settings.modec = 'c'; if (!syntax_present(curwin)) settings.do_syntax = FALSE; -- cgit