syntax: Use RGB/GUI attribute information for "abstract_ui"

Instead of using classic cterm color numbers and attributes, treat "abstract_ui"
as a GUI: Pass rgb color numbers and gui attributes when the "highlight_set" UI
method is called. The terminal UI will have to translate RGB color information
to an appropriate color number, and the "term"/"cterm" :highlight keys will
eventually be deprecated.
This commit is contained in:
Thiago de Arruda
2014-12-08 22:24:00 -03:00
parent 07e569a25d
commit 86542c6fd0
6 changed files with 268 additions and 51 deletions

View File

@@ -5,8 +5,6 @@
#include "nvim/buffer_defs.h"
typedef int guicolor_T;
/*
* Terminal highlighting attribute bits.
* Attributes above HL_ALL are used for syntax highlighting.