Move quickrun popup-specific config to core-popups + update rules
This commit is contained in:
parent
5491fd552e
commit
c5b1d56002
2 changed files with 6 additions and 11 deletions
|
@ -89,16 +89,11 @@ invokes the repl. Takes the same arguements as `rtog/add-repl'."
|
|||
quickrun-compile-only
|
||||
quickrun-replace-region)
|
||||
:init
|
||||
;; Use standard linum-mode for quickrun eval windows; so we can have different
|
||||
;; rules for it. Plus, hide modeline in it.
|
||||
(add-hook 'quickrun--mode-hook #'linum-mode)
|
||||
|
||||
:config
|
||||
(set! :popup "*quickrun*" :size 10 :noesc t :autokill t :autoclose t)
|
||||
|
||||
;; don't auto-focus quickrun windows. Shackle handles that for us.
|
||||
(setq quickrun-focus-p nil)
|
||||
|
||||
(defun +eval*quickrun-auto-close (&rest _)
|
||||
"Allows us to silently re-run quickrun from within the quickrun buffer."
|
||||
(when-let (win (get-buffer-window quickrun--buffer-name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue