fix(indent-guides): interop with magit-blame
Ref: af814ff86a
Ref: #8052
This commit is contained in:
parent
af814ff86a
commit
bcdb945465
1 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,12 @@ be enabled. If any function returns non-nil, the mode will not be activated."
|
|||
(defun +indent-guides-in-childframe-p ()
|
||||
(frame-parameter nil 'parent-frame)))
|
||||
|
||||
;; HACK: `indent-bars-mode' interactions with some packages poorly. This
|
||||
;; section is dedicated to package interop fixes.
|
||||
(when (modulep! :tools magit)
|
||||
(after! magit-blame
|
||||
(add-to-list 'magit-blame-disable-modes 'indent-bars-mode)))
|
||||
|
||||
(when (modulep! :tools lsp)
|
||||
;; HACK: lsp-ui-peek uses overlays, and indent-bars doesn't know how to deal
|
||||
;; with all the whitespace it uses to format its popups, spamming it with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue