completion/helm: remove +helm-global-prompt
This could hide helpful prompt text. Addresses #923
This commit is contained in:
parent
6515efa19e
commit
0312f8656a
1 changed files with 0 additions and 12 deletions
|
@ -1,8 +1,5 @@
|
|||
;;; completion/helm/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar +helm-global-prompt "››› "
|
||||
"The helm text prompt prefix string is globally replaced with this string.")
|
||||
|
||||
(defvar +helm-project-search-engines '(rg ag pt)
|
||||
"What search tools for `+helm/project-search' (and `+helm-file-search' when no
|
||||
ENGINE is specified) to try, and in what order.
|
||||
|
@ -114,15 +111,6 @@ be negative.")
|
|||
:config
|
||||
(set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil)
|
||||
|
||||
(defun +helm*replace-prompt (plist)
|
||||
"Globally replace helm prompts with `+helm-global-prompt'."
|
||||
(cond ((not +helm-global-prompt) plist)
|
||||
((keywordp (car plist))
|
||||
(plist-put plist :prompt +helm-global-prompt))
|
||||
((setf (nth 2 plist) +helm-global-prompt)
|
||||
plist)))
|
||||
(advice-add #'helm :filter-args #'+helm*replace-prompt)
|
||||
|
||||
;; Hide the modeline
|
||||
(defun +helm|hide-mode-line (&rest _)
|
||||
(with-current-buffer (helm-buffer-get)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue