I may be wrong, but placing the (add-to-list 'treesit-language-source-alist blocks in the :init section will cause an error if you just place the entire use-package construct in an empty config. After all, at the init stage these alists are not there yet.
I may be wrong, but placing the
(add-to-list 'treesit-language-source-alist
blocks in the:init
section will cause an error if you just place the entire use-package construct in an empty config. After all, at the init stage these alists are not there yet.