aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuan Fu2024-12-23 18:43:11 -0800
committerYuan Fu2024-12-23 18:52:41 -0800
commit4def541bbfe67b1a492e8a3b6041a1d8f76d680b (patch)
tree06dec6e5ca835808d5bfcfc860350a7583766fb0
parent93755ea1a6113e115ac3349b67e58e2f3fd03894 (diff)
downloademacs-4def541bbfe67b1a492e8a3b6041a1d8f76d680b.tar.gz
emacs-4def541bbfe67b1a492e8a3b6041a1d8f76d680b.zip
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.
-rw-r--r--lisp/progmodes/cmake-ts-mode.el11
1 files changed, 10 insertions, 1 deletions
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 @@
22;; You should have received a copy of the GNU General Public License 22;; You should have received a copy of the GNU General Public License
23;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. 23;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
24 24
25;;; Tree-sitter language versions
26;;
27;; cmake-ts-mode is known to work with the following languages and version:
28;; - tree-sitter-cmake: e409ae33f00e04cde30f2bcffb979caf1a33562a
29;;
30;; We try our best to make builtin modes work with latest grammar
31;; versions, so a more recent grammar version has a good chance to work.
32;; Send us a bug report if it doesn't.
33
25;;; Commentary: 34;;; Commentary:
26;; 35;;
27 36
@@ -175,7 +184,7 @@ Check if a node type is available, then return the right font lock rules."
175 :feature 'misc-punctuation 184 :feature 'misc-punctuation
176 ;; Don't override strings. 185 ;; Don't override strings.
177 :override 'nil 186 :override 'nil
178 '((["$" "{" "}" "<" ">"]) @font-lock-misc-punctuation-face) 187 '((["$" "{" "}"]) @font-lock-misc-punctuation-face)
179 188
180 :language 'cmake 189 :language 'cmake
181 :feature 'variable 190 :feature 'variable