From 911c8f48b4f1e14b7572d8cd76fe648c551c094c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 5 Oct 2020 15:40:11 -0400 Subject: [PATCH] Fix #2742: cursor offset in artist-mode Due to line numbers. --- core/core-ui.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core-ui.el b/core/core-ui.el index 95cfb64b6..edb5c00c5 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -516,6 +516,10 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original (add-hook! '(prog-mode-hook text-mode-hook conf-mode-hook) #'display-line-numbers-mode) +;; Fix #2742: cursor is off by 4 characters in `artist-mode' +;; REVIEW: Reported upstream https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43811 +(add-hook 'artist-mode-hook #'doom-disable-line-numbers-h) + ;; ;;; Theme & font