Revert previous change in go-ts-mode.el

Reverts 59365f9285 and
56cd810b9d.

Reverting because the use of treesit-ready-p is very much intentional.

* lisp/progmodes/go-ts-mode.el (treesit-ready-p): Revert change.
This commit is contained in:
Yuan Fu 2023-03-03 13:59:54 -08:00
parent 7548446194
commit da8e4b6fe4
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -393,7 +393,7 @@ what the parent of the node would be if it were a node."
(treesit-major-mode-setup)))
(if (treesit-language-available-p 'gomod)
(if (treesit-ready-p 'gomod)
(add-to-list 'auto-mode-alist '("/go\\.mod\\'" . go-mod-ts-mode)))
(provide 'go-ts-mode)