Remove unnecessary `Option` from functions querying buffer outline (#37935)

`None` case wasn't being used

Release Notes:

- N/A
441a934d84Michael Sloan committed on 9/10/2025, 6:21:51 PM· committed by GitHubparentb28c979
13 files changedLine totals unavailable