Added CMake stuff.
This commit is contained in:
parent
8143ece097
commit
69f1ceb6b1
27
init.el
27
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-07-29T13:00:38+00:00>
|
;; Time-stamp: <2019-08-01T18:47:22+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -424,6 +424,31 @@ With argument, do this that many times."
|
||||||
(cmake-ide-setup))
|
(cmake-ide-setup))
|
||||||
) ; unless slow-computer
|
) ; unless slow-computer
|
||||||
|
|
||||||
|
|
||||||
|
;; Highlighting and indentation for CMake.
|
||||||
|
(use-package cmake-mode
|
||||||
|
;; The CMake ebuild installs the mode.
|
||||||
|
:unless (string-match-p "gentoo" operating-system-release)
|
||||||
|
:mode
|
||||||
|
("CMakeLists\\.txt\\'" . cmake-mode)
|
||||||
|
("\\.cmake\\'" . cmake-mode)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; ;; Doesn't work, find bug later.
|
||||||
|
;; ;; Advanced highlighting for CMake.
|
||||||
|
;; (use-package cmake-font-lock
|
||||||
|
;; :after cmake-mode
|
||||||
|
;; :hook
|
||||||
|
;; (cmake-mode . 'cmake-font-lock-activate)
|
||||||
|
;; )
|
||||||
|
|
||||||
|
;; CMake reference.
|
||||||
|
(use-package eldoc-cmake
|
||||||
|
:after cmake-mode
|
||||||
|
:hook
|
||||||
|
(cmake-mode . eldoc-cmake-enable)
|
||||||
|
)
|
||||||
|
|
||||||
;; GUI for gdb and other debuggers.
|
;; GUI for gdb and other debuggers.
|
||||||
(use-package realgud
|
(use-package realgud
|
||||||
:after cc-mode
|
:after cc-mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user