Added CMake stuff.
This commit is contained in:
parent
8143ece097
commit
69f1ceb6b1
29
init.el
29
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; 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:
|
||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -422,7 +422,32 @@ With argument, do this that many times."
|
|||
(cmake-ide-cmake-opts "") ; Use the already configured options.
|
||||
:config
|
||||
(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.
|
||||
(use-package realgud
|
||||
|
|
Loading…
Reference in New Issue
Block a user