neovim/test/functional/terminal
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
..
altscreen_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
api_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
buffer_spec.lua fix(terminal): don't pass incomplete UTF-8 sequence to libvterm (#27922) 2024-03-19 16:56:51 +08:00
channel_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
cursor_spec.lua test(terminal/cursor_spec): unskip tests that pass on Windows (#27924) 2024-03-19 15:42:55 +08:00
edit_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
ex_terminal_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
helpers.lua test(tui_spec): prevent race between nvim_input and nvim_paste (#27356) 2024-02-06 14:05:49 +08:00
highlight_spec.lua test: combining TermCursorNC with CursorLine/CursorColumn (#27898) 2024-03-17 18:09:29 +08:00
mouse_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
scrollback_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
tui_spec.lua test(terminal/cursor_spec): unskip tests that pass on Windows (#27924) 2024-03-19 15:42:55 +08:00
window_spec.lua fix(terminal): disable reflow again 2024-03-14 19:22:16 +08:00
window_split_tab_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00