Remember max mode setting per-thread and add a user setting (#30042)

Supersedes: https://github.com/zed-industries/zed/pull/29936

Thanks for your contribution @imumesh18, but we had a slightly different
take on it :)

Release Notes:

- N/A

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
0055a20512Mikayla Maki committed on 5/6/2025, 8:11:21 PM· committed by GitHubparent6bb6e48
7 files changedLine totals unavailable