aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-13 00:46:17 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-13 00:46:17 -0500
commita99d33ad9a6a81400a04712f769180ef700787b4 (patch)
treea9870d5c527270c83f0e45270991d4bbe7a56d30 /src/nvim/syntax.c
parent9c090e9329679d5659d61f1c3f4fc5452417a027 (diff)
parent16d0976150516b17de7a4c20d0e4939a5d6d4237 (diff)
downloadrneovim-a99d33ad9a6a81400a04712f769180ef700787b4.tar.gz
rneovim-a99d33ad9a6a81400a04712f769180ef700787b4.tar.bz2
rneovim-a99d33ad9a6a81400a04712f769180ef700787b4.zip
Merge pull request #1801 from Pyrohh/qnx_cleanup
Remove QNX/pterm remnants
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 4e2be0cd44..e9a814bc97 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -6407,12 +6407,6 @@ do_highlight (
4+8, 4+8, 2+8, 2+8,
6+8, 6+8, 1+8, 1+8, 5+8,
5+8, 3+8, 3+8, 7+8, -1};
-#if defined(__QNXNTO__)
- static int *color_numbers_8_qansi = color_numbers_8;
- /* On qnx, the 8 & 16 color arrays are the same */
- if (STRNCMP(T_NAME, "qansi", 5) == 0)
- color_numbers_8_qansi = color_numbers_16;
-#endif
/* reduce calls to STRICMP a bit, it can be slow */
off = TOUPPER_ASC(*arg);
@@ -6433,11 +6427,7 @@ do_highlight (
if (color >= 0) {
if (t_colors == 8) {
/* t_Co is 8: use the 8 colors table */
-#if defined(__QNXNTO__)
- color = color_numbers_8_qansi[i];
-#else
color = color_numbers_8[i];
-#endif
if (key[5] == 'F') {
/* set/reset bold attribute to get light foreground
* colors (on some terminals, e.g. "linux") */