From: Yuan Fu Date: Tue, 24 Dec 2024 02:43:11 +0000 (-0800) Subject: Fix cmake-ts-mode font-lock queries X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2dfedfe6aeb2b53f43afdf1f0d395a61ab005272;p=emacs.git Fix cmake-ts-mode font-lock queries This commit in tree-sitter-cmake removed angle brackets: https://github.com/uyha/tree-sitter-cmake/commit/a414a4c83d54388f596269639c175a5b84bfa929 * lisp/progmodes/cmake-ts-mode.el (cmake-ts-mode--font-lock-settings): Remove angle brackets. (cherry picked from commit 4def541bbfe67b1a492e8a3b6041a1d8f76d680b) --- diff --git a/lisp/progmodes/cmake-ts-mode.el b/lisp/progmodes/cmake-ts-mode.el index 3ec239e89bb..1871ea39a47 100644 --- a/lisp/progmodes/cmake-ts-mode.el +++ b/lisp/progmodes/cmake-ts-mode.el @@ -22,6 +22,15 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see . +;;; Tree-sitter language versions +;; +;; cmake-ts-mode is known to work with the following languages and version: +;; - tree-sitter-cmake: e409ae33f00e04cde30f2bcffb979caf1a33562a +;; +;; 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. +;; Send us a bug report if it doesn't. + ;;; Commentary: ;; @@ -175,7 +184,7 @@ Check if a node type is available, then return the right font lock rules." :feature 'misc-punctuation ;; Don't override strings. :override 'nil - '((["$" "{" "}" "<" ">"]) @font-lock-misc-punctuation-face) + '((["$" "{" "}"]) @font-lock-misc-punctuation-face) :language 'cmake :feature 'variable