mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-09 12:57:25 -05:00
Quickrun+popwin integration
This commit is contained in:
@ -9,7 +9,15 @@
|
||||
quickrun-replace-region
|
||||
helm-quickrun)
|
||||
:config
|
||||
(add-to-list 'quickrun-file-alist '("\\.gvy$" . "groovy")))
|
||||
(setq quickrun-focus-p nil)
|
||||
(add-to-list 'quickrun-file-alist '("\\.gvy$" . "groovy"))
|
||||
|
||||
(defun narf*quickrun-close-popwin ()
|
||||
(when (get-buffer quickrun/buffer-name)
|
||||
(quickrun/kill-quickrun-buffer)
|
||||
(popwin:close-popup-window-if-necessary)))
|
||||
(advice-add 'quickrun :before 'narf*quickrun-close-popwin)
|
||||
(advice-add 'quickrun-region :before 'narf*quickrun-close-popwin))
|
||||
|
||||
(provide 'core-quickrun)
|
||||
;;; core-quickrun.el ends here
|
||||
|
Reference in New Issue
Block a user