mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
@ -35,6 +35,12 @@
|
|||||||
(when (centaur-tabs-mode-on-p)
|
(when (centaur-tabs-mode-on-p)
|
||||||
(centaur-tabs-local-mode))))
|
(centaur-tabs-local-mode))))
|
||||||
|
|
||||||
|
(add-hook! 'doom-load-theme-hook
|
||||||
|
(defun +tabs-reload-centaur-tabs-h ()
|
||||||
|
(when (bound-and-true-p centaur-tabs-mode)
|
||||||
|
(centaur-tabs-mode -1)
|
||||||
|
(centaur-tabs-mode +1))))
|
||||||
|
|
||||||
;; HACK: `centaur-tabs-buffer-update-groups' is both expensive and called too
|
;; HACK: `centaur-tabs-buffer-update-groups' is both expensive and called too
|
||||||
;; frequently. There really is no reason to call it more than 10 times per
|
;; frequently. There really is no reason to call it more than 10 times per
|
||||||
;; second, as buffers rarely change groups more frequently than that.
|
;; second, as buffers rarely change groups more frequently than that.
|
||||||
|
Reference in New Issue
Block a user