From 24dc5d437542b68969e7eed040d913c670d85ed3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 Dec 2017 12:45:15 -0500 Subject: [PATCH] Disable show-paren-mode in org-mode show-paren-mode causes flickering with indentation margins made by org-indent-mode, so we simply turn off show-paren-mode altogether. --- modules/lang/org/config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 88463f71c..182afcf31 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -63,6 +63,7 @@ +org|enable-auto-update-cookies +org|smartparens-compatibility-config +org|unfold-to-2nd-level-or-point + +org|show-paren-mode-compatibility )) @@ -108,6 +109,11 @@ unfold to point on startup." (add-hook 'evil-insert-state-exit-hook #'+org|update-cookies nil t)) (add-hook 'before-save-hook #'+org|update-cookies nil t)) +(defun +org|show-paren-mode-compatibility () + "`show-paren-mode' causes flickering with indentation margins made by +`org-indent-mode', so we simply turn off show-paren-mode altogether." + (set (make-local-variable 'show-paren-mode) nil)) + ;; (defun +org-init-ui ()