aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-07-14 01:43:48 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-07-29 07:52:45 -0400
commit0c0318f8a7ccbf1b286a4c52fefc168534ff7f5e (patch)
treecae2695a135732a09f5a352fdb5f4b2f481c55eb /src/nvim/syntax.h
parent5af90e2ee73efd156d269b9beba6e6d572dba2b7 (diff)
downloadrneovim-0c0318f8a7ccbf1b286a4c52fefc168534ff7f5e.tar.gz
rneovim-0c0318f8a7ccbf1b286a4c52fefc168534ff7f5e.tar.bz2
rneovim-0c0318f8a7ccbf1b286a4c52fefc168534ff7f5e.zip
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) https://github.com/vim/vim/commit/12d853fae1fc37c33874b5cf1e40a2dfaf04268c Use TriState on lookup_color() to avoid 'NOLINT' comments.
Diffstat (limited to 'src/nvim/syntax.h')
-rw-r--r--src/nvim/syntax.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/syntax.h b/src/nvim/syntax.h
index f8282955a6..9fbad74f64 100644
--- a/src/nvim/syntax.h
+++ b/src/nvim/syntax.h
@@ -3,6 +3,7 @@
#include <stdbool.h>
+#include "nvim/globals.h"
#include "nvim/buffer_defs.h"
#include "nvim/ex_cmds_defs.h"