aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-01-08 11:23:45 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-01-13 11:54:52 -0300
commit29bc6dfabde2c8881a719175f3d6cbf422ac72c0 (patch)
tree2091900f7f796ef812984f5d65d4188a0be1d7b6 /src/nvim/syntax.c
parent631099d02abf2c5ceee88267622570df576b464c (diff)
downloadrneovim-29bc6dfabde2c8881a719175f3d6cbf422ac72c0.tar.gz
rneovim-29bc6dfabde2c8881a719175f3d6cbf422ac72c0.tar.bz2
rneovim-29bc6dfabde2c8881a719175f3d6cbf422ac72c0.zip
ui: Add 'rgb' parameter to ui_attach
When set to false, nvim will send cterm color numbers with `highlight_set`.
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index c83968b7cc..14bca0c0d6 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -6439,8 +6439,7 @@ do_highlight (
HL_TABLE()[idx].sg_cterm &= ~HL_BOLD;
}
color &= 7; /* truncate to 8 colors */
- } else if (t_colors == 16 || t_colors == 88
- || t_colors == 256) {
+ } else if (t_colors == 16 || t_colors == 88 || t_colors == 256) {
/*
* Guess: if the termcap entry ends in 'm', it is
* probably an xterm-like terminal. Use the changed