From fe4aee4c602a4526dbc81bc9945ef10319790f3e Mon Sep 17 00:00:00 2001 From: mattkae Date: Thu, 11 May 2023 09:04:39 -0400 Subject: Using material theme, lowering opacity, and fixing how we highlight lines --- lisp/general.el | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lisp/general.el') diff --git a/lisp/general.el b/lisp/general.el index b4b41f7..7663579 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -144,19 +144,6 @@ ;; Line highlighting (global-hl-line-mode 1) -(set-face-background 'hl-line "unspecified") -(set-face-attribute 'hl-line nil - :box '(:line-width -1 - :color "gray90" - :style nil)) -(defun visual-line-range () - """Purpose is to only highlight the visual line even when the real line wraps. (Source: https://stackoverflow.com/questions/31541907/highlight-a-single-line-in-a-larger-word-wrapped-line)""" - (save-excursion - (cons - (progn (beginning-of-visual-line) (point)) - (progn (end-of-visual-line) (point))))) - -(setq hl-line-range-function 'visual-line-range) ;; Git -- cgit v1.2.1