Correctly disable hl-line

This commit is contained in:
Wojciech Kozlowski 2022-04-10 22:09:25 +02:00
parent 23fe97e99a
commit d06b903d3b
2 changed files with 7 additions and 1 deletions

View File

@ -39,6 +39,10 @@
(set-face-attribute 'font-lock-function-name-face nil :weight 'bold)
(set-face-attribute 'font-lock-keyword-face nil :weight 'bold)
(set-face-attribute 'font-lock-type-face nil :weight 'bold)
(set-face-attribute 'line-number-current-line nil :inherit
(remq 'hl-line (internal-get-lisp-face-attribute
'line-number-current-line
:inherit)))
(set-face-attribute 'show-paren-match nil :background nil)))
(after! whitespace (set-face-attribute 'whitespace-line nil :background nil))
@ -112,6 +116,9 @@
;; Additional coniguration for doom modules.
;; -----------------------------------------------------------------------------
;; Disable hl-line-mode everywhere.
(after! hl-line (setq global-hl-line-modes nil))
;; Always open magit in other window.
(after! magit
(setq magit-display-buffer-function #'magit-display-buffer-traditional))

View File

@ -31,7 +31,6 @@
;; If you'd like to disable a package included with Doom, you can do so here
;; with the `:disable' property:
;(package! builtin-package :disable t)
(package! hl-line :disable t)
;; You can override the recipe of a built in package without having to specify
;; all the properties for `:recipe'. These will inherit the rest of its recipe