; Minor rephrasing in treesit-admin--verify-major-mode-queries

* admin/tree-sitter/treesit-admin.el:
(treesit-admin--verify-major-mode-queries): Minor rephrase.
This commit is contained in:
Yuan Fu 2024-12-30 00:28:48 -08:00
parent b828d36ded
commit d32f3eed99
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -190,13 +190,13 @@ queries that has problems with latest grammar."
(delete-region beg (point))
(insert ";;\n")
(dolist (mode modes)
(insert (format ";; %s is known to work with the following languages and version:\n" mode))
(insert (format ";; %s has been tested with the following grammars and version:\n" mode))
(dolist (lang (alist-get mode mode-language-alist))
(insert (format ";; - tree-sitter-%s: %s\n" lang (alist-get lang version-alist))))
(insert ";;\n"))
(insert
";; We try our best to make builtin modes work with latest grammar
;; versions, so a more recent grammar version has a good chance to work.
;; versions, so a more recent grammar has a good chance to work too.
;; Send us a bug report if it doesn't.")
(insert "\n\n")
(write-file source-file))))