fn callback(_: AutocmdCallbackArgs) -> boolExpand description
Callback for scrolloff autocmd.
Retrieves the current window height, calculates scrolloff as 50% of height (floored),
and sets the global ‘scrolloff’ option. Returns false to continue processing other autocmds.
§Errors
Logs an error notification if window height cannot be retrieved; otherwise proceeds silently.