[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/zuul 982b0eac12 09/17: Add faces for prompt and input i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/zuul 982b0eac12 09/17: Add faces for prompt and input in zuul build |
Date: |
Tue, 30 Aug 2022 11:58:25 -0400 (EDT) |
branch: externals/zuul
commit 982b0eac1216516398ed170a26461eee2cc9b3b7
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Add faces for prompt and input in zuul build
---
zuul.el | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/zuul.el b/zuul.el
index 2ff40ec697..007f33d43f 100644
--- a/zuul.el
+++ b/zuul.el
@@ -229,6 +229,14 @@ Each entry in the list is a property list with the
following properties:
'((t :inherit font-lock-function-name-face))
"Face used to highlight build command in `zuul'.")
+(defface zuul-command-prompt-face
+ '((t :inherit comint-highlight-prompt))
+ "Face used to highlight command prompt in `zuul'.")
+
+(defface zuul-prompt-input-face
+ '((t :inherit comint-highlight-input))
+ "Face used to highlight prompt input in `zuul'.")
+
;;;; Data structures
(cl-defstruct (zuul-buildset
@@ -1108,8 +1116,8 @@ Optionally provide extra parameters PARAMS, PARSER,
METHOD, BUFFER or HEADERS."
(search-forward "$")
(let* ((ov-prompt (make-overlay (prop-match-beginning property)
(point)))
(ov-input (make-overlay (point) (progn (end-of-line)
(point)))))
- (overlay-put ov-prompt 'face 'comint-highlight-prompt)
- (overlay-put ov-input 'face 'comint-highlight-input)))))))
+ (overlay-put ov-prompt 'face 'zuul-command-prompt-face)
+ (overlay-put ov-input 'face 'zuul-prompt-input-face)))))))
;;;; Major mode
- [elpa] branch externals/zuul created (now ad20c55828), ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 1ac0b6635e 06/17: Move zuul--highlight-cmd, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 67165f7805 05/17: Add highlight of command, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 0003af3679 10/17: Add functions for anonymized screenshots, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 36fb6e7a13 15/17: Address feedback from package-lint, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul c3e69263ce 14/17: Update command section in README, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul b14fb97cc0 03/17: Replace keybinding for eldoc-mode, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul c15f79d769 07/17: Add previous/next command in build log, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 982b0eac12 09/17: Add faces for prompt and input in zuul build,
ELPA Syncer <=
- [elpa] externals/zuul 83f68268cc 01/17: Add LICENSE file, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 58af096228 04/17: Update output to contain cmd as well, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul aecdb85b15 02/17: Add zuul.el, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul ad20c55828 17/17: Update required Emacs version, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul d58e139493 08/17: Update zuul-open-build-log implementation, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul ef4dba22c6 11/17: Increase anonymity, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 3c0e5ccd4e 16/17: Address feedback from checkdoc, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 02c7f26463 12/17: Version 0.2, ELPA Syncer, 2022/08/30
- [elpa] externals/zuul 22d942a78c 13/17: Bump header version in zuul.el, ELPA Syncer, 2022/08/30