;;; init-minibuffer.el --- Initialize minibuffer -*- lexical-binding: t -*-

;;; Commentary:

;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Minibuffer.html
;; https://www.gnu.org/software/emacs/manual/html_node/elisp/Minibuffers.html
;; https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/minibuffer.el

;;; Code:

(require 'init-hotfuzz)

(setopt completion-auto-help nil) ; Disable completions buffer. I use Icomplete.
(setopt completion-ignore-case t)
(setopt completion-styles '(hotfuzz))
(setopt minibuffer-default-prompt-format "")
(setopt read-buffer-completion-ignore-case t)
(setopt read-file-name-completion-ignore-case t)

;; The completion styles specified above via the variable `completion-styles'
;; aren't used when `switch-to-buffer' is called, and a solution is to set the
;; variable `completion-category-overrides'.
(setopt completion-category-overrides '((buffer (styles hotfuzz))))

;; See init-icomplete.el for more minibuffer configuration.

(provide 'init-minibuffer)

;;; init-minibuffer.el ends here
