From 429603091181020ee481d4924db4686b68e39c15 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Fri, 14 Mar 2025 00:55:04 -0400 Subject: [PATCH] Enable cmake-ts-mode for CMakeLists.txt files --- init.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/init.el b/init.el index ec6aa07..489e8bc 100644 --- a/init.el +++ b/init.el @@ -403,6 +403,15 @@ DOCSTRING is an optional form that is discarded upon expansion." :mode ("\\.cppm\\'" . c++-ts-mode)) +;; ---------------------------------- ;; +;; cmake-ts-mode +;; ---------------------------------- ;; + +(editor-feature cmake-ts-mode + "Major mode for CMake files, using the Tree-sitter parsing library." + :mode + ("\\CMakeLists.txt\\'" . cmake-ts-mode)) + ;; ---------------------------------- ;; ;; compile ;; ---------------------------------- ;;