Open DarkBuffalo opened 2 years ago
Hello, First of all thank you for this package.
using posframe and selectrum, dimmer doesn't seem to recognize the posframe buffer. do you have an idea ?
(p! selectrum :init ;; always show a certain amount of candidates (setq selectrum-max-window-height 15) (setq selectrum-fix-vertical-window-height t) ;; selection face should extend to the screen edge (setq selectrum-extend-current-candidate-highlight t) (setq selectrum-display-action '(display-buffer-show-in-posframe)) ;selectrum on posframe :config (selectrum-mode 1) :general (leader-keys "R" 'selectrum-repeat)) ;; [[https://github.com/radian-software/selectrum/wiki/Additional-Configuration#display-candidates-in-a-posframe][selectrum on posframe]] (defun display-buffer-show-in-posframe (buffer _alist) (frame-root-window (posframe-show buffer :min-height 15 :min-width (frame-width) :internal-border-width 1 ;;:internal-border-color (face-attribute "#123" :background nil t) :left-fringe 8 :right-fringe 8 :poshandler 'posframe-poshandler-frame-center))) (add-hook 'minibuffer-exit-hook 'posframe-delete-all) (use-package dimmer :hook (after-init . dimmer-mode) :config (setq dimmer-fraction 0.1) :hook (after-init . dimmer-mode) (dimmer-configure-which-key) (dimmer-configure-magit) (dimmer-configure-posframe) :custom (dimmer-exclusion-regexp-list '("^\\*[h|H]elm.*\\*" "^\\*Minibuf-.*\\*" "^\\*Echo.*" "^.\\*which-key\\*$" "^ \\*.*posframe.*\\*$")) )
Hello, First of all thank you for this package.
using posframe and selectrum, dimmer doesn't seem to recognize the posframe buffer. do you have an idea ?