Subject: Treesit language-at-point

From: Juri Linkov <[email-masked]>
Date: Tue, 25 Mar 2025 20:42:02 +0200

Do we still need such complicated functions as
mhtml-ts-mode--language-at-point, js--treesit-language-at-point, etc.
that duplicate the rules from 'treesit-range-rules'
when now the default language-at-point function could be implemented
just as

  (treesit-parser-language
   (or (seq-some (lambda (o) (overlay-get o 'treesit-parser))
                 (overlays-at (point) t))
       treesit-primary-parser))