]> git.eshelyaron.com Git - emacs.git/commitdiff
; Minor rephrasing in treesit-admin--verify-major-mode-queries
authorYuan Fu <casouri@gmail.com>
Mon, 30 Dec 2024 08:28:48 +0000 (00:28 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:58:34 +0000 (21:58 +0100)
* admin/tree-sitter/treesit-admin.el:
(treesit-admin--verify-major-mode-queries): Minor rephrase.

(cherry picked from commit d32f3eed991b0fa8def484787d95852fd9c10972)

admin/tree-sitter/treesit-admin.el

index 3711eb0a30125690e341991c7226312cca850512..75879b6632cb67cddebb45c74ff3d55d3f37ad6e 100644 (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))))