Subject: bug#68956: Workaround

From: Dominique Quatravaux <[email-masked]>
Date: Tue, 6 Feb 2024 18:44:18 +0100

I had success applying the following workaround:

(advice-add 'bash-ts-mode
            :after (lambda (&rest ignored)
                     (when-let ((bash-things (assq 'bash
treesit-thing-settings)))
                       (setf (alist-get 'text (cdr bash-things))
'(sentence)))))

Now M-q does the right thing for me everywhere in bash-ts-mode.

--
 Dominique Quatravaux
 [email-masked]