vim-patch:8.0.0831: with 8 colors the bold attribute is not set properly

Problem:    With 8 colors the bold attribute is not set properly.
Solution:   Move setting HL_TABLE() out of lookup_color. (closes vim/vim#1901)
12d853fae1

Use TriState on lookup_color() to avoid 'NOLINT' comments.
This commit is contained in:
Jan Edmund Lazo
2018-07-14 01:43:48 -04:00
parent 5af90e2ee7
commit 0c0318f8a7
2 changed files with 17 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
#include <stdbool.h>
#include "nvim/globals.h"
#include "nvim/buffer_defs.h"
#include "nvim/ex_cmds_defs.h"