neovim/test/functional/vimscript
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
..
api_functions_spec.lua vim-patch:9.1.0047: issues with temp curwin/buf while cmdwin is open 2024-01-28 12:29:26 +00:00
buf_functions_spec.lua test: use integers for API Buffer/Window/Tabpage EXT types 2024-01-16 19:11:49 +00:00
changedtick_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
container_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
ctx_functions_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
environ_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
errorlist_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
eval_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
executable_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
execute_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
exepath_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
fnamemodify_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
functions_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
getline_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
glob_spec.lua test: use vim.mpack and vim.uv directly 2024-01-12 12:04:20 +00:00
has_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
hostname_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
input_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
json_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
lang_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
let_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
map_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
match_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
minmax_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
modeline_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
msgpack_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
null_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
operators_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
printf_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
reltime_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
screenchar_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
screenpos_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
server_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
setpos_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
sort_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
special_vars_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
state_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
string_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
system_spec.lua refactor(tests): all screen tests should use highlights 2024-03-23 13:44:35 +01:00
timer_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
uniq_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
vvar_event_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
wait_spec.lua refactor(tests): get channel id via nvim_get_chan_info #27441 2024-02-12 05:50:39 -08:00
writefile_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00