Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | test: nvim_get_hl_by_name/by_id #7082 | Justin M. Keyes | 2017-10-08 |
| | | | | | - test all properties - test failure modes | ||
* | Merge #7082 'api: nvim_get_hl_by_name/by_id' | Justin M. Keyes | 2017-10-08 |
| | |||
* | Changed prototypes to accept a boolean "rgb" | Matthieu Coudron | 2017-09-30 |
| | |||
* | Increased test coverage for RGB and cterm | Matthieu Coudron | 2017-09-30 |
| | |||
* | Adds nvim_get_hl_by_name/by_id | Matthieu Coudron | 2017-09-30 |
...in order to retrieve highlights. Added test/functional/api/highlight_spec.lua HL_NORMAL is not really a good name, since it's more like an empty attribute than the normal's one. If one pays attention, syn_cterm_attr2entry is never called with attr=0 because it's always special cased before. I suggest in subsequent PRs we remove the ATTR_OFF and just insert an EMPTY ATTR/RESET_ATTR/UNINITIALIZED for id 0. |