description> Tree-Sitter Smart Major Mode-Mapping: prettifies major mode names, and detects -ts-mode variants (e.g., rust-ts-mode) and cleans them up beautifully (e.g., Rust).
Why not just use `mode-name`? `rust-ts-mode` sets it to "Rust", and it looks like many of the mappings in `modusregel-major-mode-alist` also mirror the respective modes' names. Plus some modes display extra info in `mode-name`, like `c-mode`/`c-ts-mode` et. al. showing the current comment style.
Also, in the vc segment, `when-let` is obsolete in favor of `when-let*`, and the segment seems to assume the current vc backend is git (not all backends have a 5 character prefix).emacs-pkg-464