SLY: Tweak prompt formatting.

master
Pierre Neidhardt 2021-01-14 16:59:35 +01:00
parent fea961c978
commit f55db510e7
1 changed files with 4 additions and 2 deletions

View File

@ -220,8 +220,10 @@ returns a string."
"("
(propertize (abbreviate-file-name default-directory) 'font-lock-face 'diff-added)
")\n"
(propertize (format "%s:" entry-idx) 'font-lock-face 'sly-part-button-face)
(propertize package-nickname 'font-lock-face 'sly-mrepl-prompt-face)
(propertize "<" 'font-lock-face 'sly-mrepl-prompt-face)
(propertize (number-to-string entry-idx) 'font-lock-face 'sly-mode-line)
(propertize ":" 'font-lock-face 'sly-mrepl-prompt-face)
(propertize package-nickname 'font-lock-face 'sly-mode-line)
(when (cl-plusp error-level)
(concat (sly-make-action-button
(format "[%d]" error-level)