Cleanup/revise comments
This commit is contained in:
parent
68f8bc028b
commit
a80f36c8b1
2 changed files with 6 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
||||||
;; Both are simple, isolated functions and, besides projectile, have no other
|
;; Both are simple, isolated functions and, besides projectile, have no other
|
||||||
;; dependencies.
|
;; dependencies.
|
||||||
|
|
||||||
(defvar doom-modeline-height 30
|
(defvar doom-modeline-height 29
|
||||||
"How tall the mode-line should be. This is only respected in GUI emacs.")
|
"How tall the mode-line should be. This is only respected in GUI emacs.")
|
||||||
|
|
||||||
;; Custom faces
|
;; Custom faces
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
(fringe-mode doom-fringe-size)
|
(fringe-mode doom-fringe-size)
|
||||||
(push `(left-fringe . ,doom-fringe-size) default-frame-alist)
|
(push `(left-fringe . ,doom-fringe-size) default-frame-alist)
|
||||||
(push `(right-fringe . ,doom-fringe-size) default-frame-alist)
|
(push `(right-fringe . ,doom-fringe-size) default-frame-alist)
|
||||||
;; default frame size on startup
|
;; slightly larger default frame size on startup
|
||||||
(push '(width . 120) default-frame-alist)
|
(push '(width . 120) default-frame-alist)
|
||||||
(push '(height . 40) default-frame-alist)
|
(push '(height . 40) default-frame-alist)
|
||||||
;; no fringe in the minibuffer
|
;; no fringe in the minibuffer
|
||||||
|
@ -68,15 +68,15 @@
|
||||||
;; Fallback to `doom-unicode-font' for Unicode characters
|
;; Fallback to `doom-unicode-font' for Unicode characters
|
||||||
(set-fontset-font t 'unicode doom-unicode-font))
|
(set-fontset-font t 'unicode doom-unicode-font))
|
||||||
|
|
||||||
;; Hide mode-line in help/compile window
|
;; mode-line is unimportant in help/compile windows
|
||||||
(add-hook 'help-mode-hook 'doom-hide-mode-line-mode)
|
(add-hook 'help-mode-hook 'doom-hide-mode-line-mode)
|
||||||
(add-hook 'compilation-mode-hook 'doom-hide-mode-line-mode)
|
(add-hook 'compilation-mode-hook 'doom-hide-mode-line-mode)
|
||||||
|
|
||||||
;; On by default in Emacs 25. I'll enable it manually, so disable it globally
|
;; Eldoc is enabled globally on Emacs 25. No thank you, I'll do it myself.
|
||||||
(when (and (> emacs-major-version 24) (featurep 'eldoc))
|
(when (and (> emacs-major-version 24) (featurep 'eldoc))
|
||||||
(global-eldoc-mode -1))
|
(global-eldoc-mode -1))
|
||||||
|
|
||||||
;; Highlight TODO/FIXME/NOTE tags
|
;; TODO/FIXME/NOTE highlighting in comments
|
||||||
(add-hook! (prog-mode emacs-lisp-mode css-mode)
|
(add-hook! (prog-mode emacs-lisp-mode css-mode)
|
||||||
(font-lock-add-keywords
|
(font-lock-add-keywords
|
||||||
nil '(("\\<\\(TODO\\(?:(.*)\\)?:?\\)\\>" 1 'warning prepend)
|
nil '(("\\<\\(TODO\\(?:(.*)\\)?:?\\)\\>" 1 'warning prepend)
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
(use-package hl-line
|
(use-package hl-line
|
||||||
:init (add-hook 'prog-mode-hook 'hl-line-mode)
|
:init (add-hook 'prog-mode-hook 'hl-line-mode)
|
||||||
:config
|
:config
|
||||||
;; Doesn't seem to play nice in emacs 25+
|
;; Doesn't play nice with emacs 25+
|
||||||
(setq hl-line-sticky-flag nil
|
(setq hl-line-sticky-flag nil
|
||||||
global-hl-line-sticky-flag nil)
|
global-hl-line-sticky-flag nil)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue