typos and fiddle with settings

This commit is contained in:
Miranda Marquez 2024-12-07 10:50:37 -09:00
parent c8b68920aa
commit 53181ef57b

View File

@ -41,7 +41,7 @@
(const :tag "Classic" classic) (const :tag "Classic" classic)
(const :tag "Rainbow" rainbow) (const :tag "Rainbow" rainbow)
(const :tag "Pure" pure))) (const :tag "Pure" pure)))
(defcustom p11k/use-unicode nil (defcustom p11k/use-unicode t
"Whether or not to use Unicode characters in PowerLevel11k Eshell prompt." "Whether or not to use Unicode characters in PowerLevel11k Eshell prompt."
:group 'p11k :group 'p11k
:type 'boolean) :type 'boolean)
@ -52,7 +52,7 @@
(const :tag "Lightest" 1) (const :tag "Lightest" 1)
(const :tag "Light" 2) (const :tag "Light" 2)
(const :tag "Dark" 3) (const :tag "Dark" 3)
(const :tag "darkest" 4))) (const :tag "Darkest" 4)))
(defcustom p11k/show-current-time 12 (defcustom p11k/show-current-time 12
"Format of time display, or nil for no time." "Format of time display, or nil for no time."
:group 'p11k :group 'p11k
@ -180,6 +180,7 @@ if MAXWIDTH is non-nil, abbreviate."
(propertize (format "%s" (alist-get (p11k/get-modal-status) p11k/prompt-caret-alist)) (propertize (format "%s" (alist-get (p11k/get-modal-status) p11k/prompt-caret-alist))
'face facecolor))) 'face facecolor)))
(defun p11k/get-modal-status () (defun p11k/get-modal-status ()
"Modal state - either meow or evil."
(if (bound-and-true-p meow--current-state) (if (bound-and-true-p meow--current-state)
meow--current-state meow--current-state
evil-state)) evil-state))