Emacs: Add cmake-font-lock.
This commit is contained in:
parent
79a2e89344
commit
319c563319
|
@ -1,6 +1,6 @@
|
|||
;;; c++.el --- C++ settings. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-18T18:36:03+0100>
|
||||
;; Time-stamp: <2020-12-01T18:47:44+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -81,11 +81,14 @@
|
|||
:custom (c-default-style "tastytea"))
|
||||
|
||||
;; Highlighting, indentation and documentation for CMake.
|
||||
;; The CMake ebuild installs and activates the mode.
|
||||
(unless (string-match-p "gentoo" operating-system-release)
|
||||
(use-package cmake-mode
|
||||
:mode (("CMakeLists\\.txt$" . cmake-mode)
|
||||
("\\.cmake$" . cmake-mode))))
|
||||
(use-package cmake-mode
|
||||
:unless (fboundp 'cmake-mode) ; The ebuild installs and activates the mode.
|
||||
:mode (("CMakeLists\\.txt$" . cmake-mode)
|
||||
("\\.cmake$" . cmake-mode)))
|
||||
|
||||
;; Advanced highlighting for CMake.
|
||||
(use-package cmake-font-lock
|
||||
:after cmake-mode)
|
||||
|
||||
;; CMake reference.
|
||||
(use-package eldoc-cmake
|
||||
|
|
Loading…
Reference in New Issue
Block a user