Subject: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands

From: Juri Linkov <[email-masked]>
Date: Mon, 23 Jun 2025 20:23:42 +0300

>   (setq-local parse-sexp-ignore-comments t)
>
> When you set it back to nil, then your test case works as you want.

Sorry, forgot to mention that you also need to add

  (sexp-default "comment")

to c-ts-mode--thing-settings.