aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/hardcopy.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-02-13 12:06:08 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-02-16 23:17:39 -0300
commitd8f3458ec745cf56dc692b55cc76d8323dbbfc53 (patch)
tree8d7633afd28546693af5719537c4e75f1ba99eec /src/nvim/hardcopy.c
parent9a2dd7c4987679106fba24fb7702a11aba6b6ccf (diff)
downloadrneovim-d8f3458ec745cf56dc692b55cc76d8323dbbfc53.tar.gz
rneovim-d8f3458ec745cf56dc692b55cc76d8323dbbfc53.tar.bz2
rneovim-d8f3458ec745cf56dc692b55cc76d8323dbbfc53.zip
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.
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r--src/nvim/hardcopy.c5
1 files changed, 1 insertions, 4 deletions
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;