test(screen): remove screen:get_default_attr_ids() (#34973)

Problem:  get_default_attr_ids() is used to get and change a subset of
          the current highlight definitions in {fold,popupmenu}_spec.lua,
          for which we have add_extra_attr_ids().
Solution: Use global highlight definitions and use add_extra_attr_ids to
          replace.
This commit is contained in:
luukvbaal
2025-07-17 22:57:34 +02:00
committed by GitHub
parent e6ce067f02
commit a08d6a8ac1
3 changed files with 1626 additions and 1905 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -274,10 +274,6 @@ function Screen:add_extra_attr_ids(extra_attr_ids)
self._default_attr_ids = attr_ids self._default_attr_ids = attr_ids
end end
function Screen:get_default_attr_ids()
return deepcopy(self._default_attr_ids)
end
function Screen:set_rgb_cterm(val) function Screen:set_rgb_cterm(val)
self._rgb_cterm = val self._rgb_cterm = val
end end