mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feature/eval: minor refactor
Now that I've "backported" display-line-numbers to Emacs 25, it isn't necessary to conditionally enable nlinum-mode. Also, use after! isntead of def-package!; this usage is equivalent, and after! imposes less overhead.
This commit is contained in:
@ -8,12 +8,7 @@
|
|||||||
;;
|
;;
|
||||||
;; Packages
|
;; Packages
|
||||||
|
|
||||||
(def-package! quickrun
|
(after! quickrun
|
||||||
:defer t
|
|
||||||
:init
|
|
||||||
(unless (boundp 'display-line-numbers)
|
|
||||||
(add-hook 'quickrun--mode-hook #'nlinum-mode))
|
|
||||||
:config
|
|
||||||
(setq quickrun-focus-p nil)
|
(setq quickrun-focus-p nil)
|
||||||
|
|
||||||
(set-popup-rule! "^\\*quickrun" :size 0.3 :ttl 0)
|
(set-popup-rule! "^\\*quickrun" :size 0.3 :ttl 0)
|
||||||
|
Reference in New Issue
Block a user