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 ;; ---------------------------------- ;;