mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
feat(highlight): ns=0 to set :highlight namespace
Passing ns=0 to nvim_set_hl will alter the `:highlight` namespace.
This commit is contained in:
@@ -46,6 +46,18 @@ typedef struct attr_entry {
|
||||
.hl_blend = -1, \
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
char *bg_name;
|
||||
char *fg_name;
|
||||
char *sp_name;
|
||||
} HlAttrNames;
|
||||
|
||||
#define HLATTRNAMES_INIT (HlAttrNames) { \
|
||||
.bg_name = NULL, \
|
||||
.fg_name = NULL, \
|
||||
.sp_name = NULL, \
|
||||
}
|
||||
|
||||
/// Values for index in highlight_attr[].
|
||||
/// When making changes, also update hlf_names below!
|
||||
typedef enum {
|
||||
|
Reference in New Issue
Block a user