neovim/test/functional/api
bfredl 0c59771e31 refactor(tests): all screen tests should use highlights
This is the first installment of a multi-PR series significantly
refactoring how highlights are being specified.

The end goal is to have a base set of 20 ish most common highlights,
and then specific files only need to add more groups to that as needed.

As a complicating factor, we also want to migrate to the new default
color scheme eventually. But by sharing a base set, that future PR
will hopefully be a lot smaller since a lot of tests will be migrated
just simply by updating the base set in place.

As a first step, fix the anti-pattern than Screen defaults to ignoring
highlights. Highlights are integral part of the screen state, not
something "extra" which we only test "sometimes". For now, we still
allow opt-out via the intentionally ugly

  screen._default_attr_ids = nil

The end goal is to get rid of all of these eventually (which will be
easier as part of the color scheme migration)
2024-03-23 13:44:35 +01:00
..
autocmd_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
buffer_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
buffer_updates_spec.lua refactor(tests): get channel id via nvim_get_chan_info #27441 2024-02-12 05:50:39 -08:00
command_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
extmark_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
highlight_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
keymap_spec.lua feat(api): support getting abbreviations (#26868) 2024-01-20 08:08:44 +08:00
menu_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
proc_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
rpc_fixture.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
server_notifications_spec.lua refactor(tests): get channel id via nvim_get_chan_info #27441 2024-02-12 05:50:39 -08:00
server_requests_spec.lua fix(rpc): do not crash when no input is consumed 2024-03-21 15:52:28 +01:00
tabpage_spec.lua fix(api): patch some cmdwin/textlock holes 2024-03-08 23:24:06 +00:00
ui_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
version_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
vim_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
window_spec.lua fix(api): update grid cursor in nvim_win_set_cursor() 2024-03-15 09:15:50 +01:00