Added hl-indent, pinned irony to git version.
This commit is contained in:
parent
6eda4ea07d
commit
e831d68127
19
init.el
19
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-07-19T02:29:31+00:00>
|
;; Time-stamp: <2019-07-21T01:30:35+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
|
||||||
|
@ -320,13 +320,15 @@ With argument, do this that many times."
|
||||||
:hook
|
:hook
|
||||||
(prog-mode . hs-minor-mode))
|
(prog-mode . hs-minor-mode))
|
||||||
|
|
||||||
;; ;; Highlight indentation levels.
|
(use-package hl-indent
|
||||||
;; (use-package highlight-indent-guides
|
:custom-face
|
||||||
;; :custom
|
(hl-indent-face ((t (:inherit hl-indent-face ; Reversed whitespace.
|
||||||
;; (highlight-indent-guides-method 'character)
|
:background "gray18"
|
||||||
;; ;; (highlight-indent-guides-responsive 'top)
|
:foreground "#1c1e1f"
|
||||||
;; :hook
|
))))
|
||||||
;; (prog-mode . highlight-indent-guides-mode))
|
:hook
|
||||||
|
(prog-mode . hl-indent-mode)
|
||||||
|
)
|
||||||
|
|
||||||
;; Tries to find points of interest and jumps to them.
|
;; Tries to find points of interest and jumps to them.
|
||||||
(use-package imenu-anywhere
|
(use-package imenu-anywhere
|
||||||
|
@ -361,6 +363,7 @@ With argument, do this that many times."
|
||||||
(unless slow-computer
|
(unless slow-computer
|
||||||
;; irony communicates with a clang-server. It needs compile_commands.json.
|
;; irony communicates with a clang-server. It needs compile_commands.json.
|
||||||
(use-package irony
|
(use-package irony
|
||||||
|
:pin melpa ; 1.3.1 Server does not compile.
|
||||||
:after yasnippet
|
:after yasnippet
|
||||||
:hook
|
:hook
|
||||||
(c++-mode . irony-mode)
|
(c++-mode . irony-mode)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user