aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/highlight_spec.lua
Commit message (Collapse)AuthorAge
* feat(lua): improve error message to make it actionable (#13276)Alvaro Muñoz2020-11-13
| | | * improve error message to make it actionable
* extmark: fix decoration ploblems with extmarkerw72020-10-02
| | | | | | 54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
* API: nvim_get_hl_by_id: omit hl instead of returning -1 #11685kevinhwang912020-01-08
| | | | | | | | | Problem: When Normal highlight group defines ctermfg/bg, but other highlight group lacks ctermfg/bg, nvim_get_hl_by_id(hl_id, v:false) returns -1 for the missing ctermfg/bg instead of just omitting it. Solution: checking for -1 in hlattrs2dict() fix #11680
* tree-sitter: implement query functionality and highlighting prototype ↵Björn Linse2019-12-22
| | | | [skip.lint]
* syntax, TUI: support "strikethrough"Jaskaran Singh2019-09-13
| | | | | | fix #3436 Includes: vim-patch:8.0.1038: strike-through text not supported
* Merge #7917 'API: buffer updates'Justin M. Keyes2018-06-08
|
* TUI: implement "standout" attribute #8081Nimit Bhardwaj2018-03-27
| | | | closes #8054
* test: nvim_get_hl_by_name/by_id #7082Justin M. Keyes2017-10-08
| | | | | - test all properties - test failure modes
* Merge #7082 'api: nvim_get_hl_by_name/by_id'Justin M. Keyes2017-10-08
|
* Changed prototypes to accept a boolean "rgb"Matthieu Coudron2017-09-30
|
* Increased test coverage for RGB and ctermMatthieu Coudron2017-09-30
|
* Adds nvim_get_hl_by_name/by_idMatthieu Coudron2017-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.