diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-16T03·55+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-16T03·56+0000 |
commit | 20ef6710e0129579bbcf8cb1becda7b18cf6c278 (patch) | |
tree | a312379c1f7f2a91a061d3926eed5fa9955c92eb /tools/emacs | |
parent | 4897669f501a9718d7e02287aee781aecb156c0f (diff) |
fix(emacs.d): Only highlight current line in prog-modes r/161
This is extremely annoying in vterms, so now it's gone!
Diffstat (limited to 'tools/emacs')
-rw-r--r-- | tools/emacs/config/look-and-feel.el | 3 | ||||
-rw-r--r-- | tools/emacs/config/modes.el | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/emacs/config/look-and-feel.el b/tools/emacs/config/look-and-feel.el index 88cab18ed2e2..98716dde6465 100644 --- a/tools/emacs/config/look-and-feel.el +++ b/tools/emacs/config/look-and-feel.el @@ -90,9 +90,6 @@ ;; Show column numbers in all buffers (column-number-mode t) -;; Highlight currently active line -(global-hl-line-mode t) - (defalias 'yes-or-no-p 'y-or-n-p) (defalias 'auto-tail-revert-mode 'tail-mode) diff --git a/tools/emacs/config/modes.el b/tools/emacs/config/modes.el index ceef84b9626d..8d47f2f9a531 100644 --- a/tools/emacs/config/modes.el +++ b/tools/emacs/config/modes.el @@ -1,6 +1,7 @@ ;; Initializes modes I use. (add-hook 'prog-mode-hook 'esk-add-watchwords) +(add-hook 'prog-mode-hook 'hl-line-mode) ;; Use auto-complete as completion at point (defun set-auto-complete-as-completion-at-point-function () |