Enable cmake-ts-mode for CMakeLists.txt files
This commit is contained in:
parent
3660fba6e1
commit
4296030911
9
init.el
9
init.el
@ -403,6 +403,15 @@ DOCSTRING is an optional form that is discarded upon expansion."
|
|||||||
:mode
|
:mode
|
||||||
("\\.cppm\\'" . c++-ts-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
|
;; compile
|
||||||
;; ---------------------------------- ;;
|
;; ---------------------------------- ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user