diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/general.el | 13 |
1 files changed, 0 insertions, 13 deletions
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 |