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:
parent
dec16e46c7
commit
24dc5d4375
1 changed files with 6 additions and 0 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue