aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.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/eval.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/eval.c')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 6714dc3822..97993eb651 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -14418,7 +14418,7 @@ static void f_synIDattr(typval_T *argvars, typval_T *rettv)
if (argvars[2].v_type != VAR_UNKNOWN) {
mode = get_tv_string_buf(&argvars[2], modebuf);
modec = TOLOWER_ASC(mode[0]);
- if (modec != 't' && modec != 'c' && modec != 'g')
+ if (modec != 'c' && modec != 'g')
modec = 0; /* replace invalid with current */
} else {
modec = 'c';