💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will throw errors! Doom's new popup management system casts off its shackles (hur hur) and replaces them with the monster that is `display-buffer-alist`, and window parameters. However, this is highly experimental! Expect edge cases. Particularly with org-mode and magit (or anything that does its own window management). Relevant to #261, #263, #325
This commit is contained in:
parent
065091bdca
commit
91357a3e5d
33 changed files with 631 additions and 1038 deletions
|
@ -19,14 +19,7 @@
|
|||
(add-hook 'doom-init-theme-hook #'doom-themes-neotree-config)
|
||||
(setq doom-neotree-enable-variable-pitch t
|
||||
doom-neotree-file-icons 'simple
|
||||
doom-neotree-line-spacing 2)
|
||||
|
||||
(after! neotree
|
||||
(defun +doom|neotree-fix-popup ()
|
||||
"Ensure the fringe settings are maintained on popup restore."
|
||||
(neo-global--when-window
|
||||
(doom--neotree-no-fringes)))
|
||||
(add-hook 'doom-popup-mode-hook #'+doom|neotree-fix-popup)))
|
||||
doom-neotree-line-spacing 2))
|
||||
|
||||
|
||||
(def-package! solaire-mode
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
(tabbar-mode)
|
||||
|
||||
(defun +tabbar|disable-in-popups ()
|
||||
(when tabbar-mode
|
||||
(when (and +popup-buffer-mode tabbar-mode)
|
||||
(tabbar-local-mode -1)
|
||||
(setq-local header-line-format nil)))
|
||||
(add-hook 'doom-popup-mode-hook #'+tabbar|disable-in-popups)
|
||||
(add-hook '+popup-buffer-mode-hook #'+tabbar|disable-in-popups)
|
||||
|
||||
(defun +tabbar-display-tab (tab)
|
||||
"Return a label for TAB that resembles tabs in Atom."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue