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.
This commit is contained in:
Henrik Lissner 2017-12-16 12:45:15 -05:00
parent dec16e46c7
commit 24dc5d4375
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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 ()