lang/pdf: fix compatibility with +new modeline
This commit is contained in:
parent
9abafcf74a
commit
df233eb1a9
2 changed files with 16 additions and 6 deletions
|
@ -31,8 +31,7 @@
|
|||
(add-hook! 'pdf-view-mode-hook (cua-mode 0))
|
||||
;; Custom modeline that removes useless info and adds page numbers
|
||||
(when (featurep! :ui doom-modeline)
|
||||
(load! "+modeline")
|
||||
(add-hook! 'pdf-tools-enabled-hook (doom-set-modeline 'pdf-tools-modeline)))
|
||||
(load! "+modeline"))
|
||||
;; Handle PDF-tools related popups better
|
||||
(set-popup-rule! "^\\*Outline*" :side 'right :size 40 :select nil)
|
||||
;; TODO: Add additional important windows that should be handled differently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue