Revert previous change in go-ts-mode.el
Reverts59365f9285and56cd810b9d. 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user