Skip to content

Commit

Permalink
tweak(cmake): use built-in cmake-ts-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 22, 2023
1 parent 4af1675 commit e75ba00
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,11 @@ the children of class at point."
:straight t
:mode "\\.vim\\(rc\\)?\\'")

(use-package cmake-mode
:straight (:host github :repo "emacsmirror/cmake-mode" :files (:defaults "*"))
:mode "CMakeLists\\.txt\\'"
:mode "\\.cmake\\'")

(use-package cmake-font-lock
:straight (:host github :repo "Lindydancer/cmake-font-lock" :files (:defaults "*"))
:hook (cmake-mode . cmake-font-lock-activate))
(when (+emacs-features-p 'tree-sitter)
(use-package cmake-ts-mode
:straight (:type built-in)
:mode "CMakeLists\\.txt\\'"
:mode "\\.cmake\\'"))

(use-package rust-mode
:straight t
Expand Down

0 comments on commit e75ba00

Please sign in to comment.