Minor refactoring
This commit is contained in:
parent
e967c573d4
commit
32bc9ce767
2 changed files with 1 additions and 7 deletions
|
@ -33,12 +33,6 @@
|
||||||
|
|
||||||
(define-key persp-mode-map [remap delete-window] '+workspace/close-window-or-workspace)
|
(define-key persp-mode-map [remap delete-window] '+workspace/close-window-or-workspace)
|
||||||
|
|
||||||
;; Ensure unreal/popup buffers aren't saved
|
|
||||||
(push (lambda (buf) (doom-popup-p (get-buffer-window buf)))
|
|
||||||
persp-filter-save-buffers-functions)
|
|
||||||
(push (lambda (buf) (not (doom-real-buffer-p buf)))
|
|
||||||
persp-common-buffer-filter-functions)
|
|
||||||
|
|
||||||
;; Auto-add buffers when opening them. Allows a perspective-specific buffer list.
|
;; Auto-add buffers when opening them. Allows a perspective-specific buffer list.
|
||||||
(defun +workspaces*auto-add-buffer (buffer &rest _)
|
(defun +workspaces*auto-add-buffer (buffer &rest _)
|
||||||
(when (and persp-mode
|
(when (and persp-mode
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
:init
|
:init
|
||||||
(add-hook 'php-mode-hook 'eldoc-mode)
|
(add-hook 'php-mode-hook 'eldoc-mode)
|
||||||
:config
|
:config
|
||||||
(setq php-extras-eldoc-functions-file (concat doom-cache-dir "/php-extras-eldoc-functions"))
|
(setq php-extras-eldoc-functions-file (concat doom-cache-dir "php-extras-eldoc-functions"))
|
||||||
|
|
||||||
;; company will set up itself
|
;; company will set up itself
|
||||||
(advice-add 'php-extras-company-setup :override 'ignore)
|
(advice-add 'php-extras-company-setup :override 'ignore)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue