[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eglot-inactive-regions cd53f3244a 56/66: rename darken-for
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eglot-inactive-regions cd53f3244a 56/66: rename darken-foreground dimmed faces |
Date: |
Fri, 6 Dec 2024 06:59:58 -0500 (EST) |
branch: elpa/eglot-inactive-regions
commit cd53f3244a6f842ff05e5a6f995c1360ed16ca06
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>
rename darken-foreground dimmed faces
---
eglot-inactive-regions.el | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/eglot-inactive-regions.el b/eglot-inactive-regions.el
index 3d6b77eee1..a4cb9d9d88 100644
--- a/eglot-inactive-regions.el
+++ b/eglot-inactive-regions.el
@@ -192,16 +192,16 @@ present return the higher priority one."
If the correspondend \"clangd-inactive\" face doesn't not exist yet create it."
(let* ((fg (face-foreground parent-face nil 'default))
(bg (face-background parent-face nil 'default))
- (eglot-inactive-fg (eglot-inactive-regions--color-blend fg bg
eglot-inactive-regions-opacity))
- (eglot-inactive-face-name (concat (face-name parent-face)
"-clangd-inactive"))
+ (alpha eglot-inactive-regions-opacity)
+ (face-suffix "-eglot-inactive")
+ (doc-suffix " (eglot inactive region dimmed face)")
+ (eglot-inactive-fg (eglot-inactive-regions--color-blend fg bg alpha))
+ (eglot-inactive-face-name (concat (face-name parent-face)
face-suffix))
(eglot-inactive-face (intern eglot-inactive-face-name))
- (eglot-inactive-doc (concat (face-documentation parent-face) "
(clangd inactive region darkened face)")))
-
+ (eglot-inactive-doc (concat (face-documentation parent-face)
doc-suffix)))
(unless (facep eglot-inactive-face)
(eval `(defface ,eglot-inactive-face '((t nil)) ,eglot-inactive-doc)))
-
(set-face-foreground eglot-inactive-face eglot-inactive-fg)
-
eglot-inactive-face))
(defun eglot-inactive-regions--forward-face-or-whitespace ()
@@ -235,12 +235,10 @@ we don't want to include whitespace in fontification."
(when (not (eolp))
(end-of-line)
(setq end (point)))
-
(goto-char start)
(when (not (bolp))
(beginning-of-line)
(setq start (point)))))
-
;; find the inactive region inside the region to fontify
(while (and start (< start end))
(let* ((from (or (text-property-any start end 'eglot-inactive-region t)
end))
- [nongnu] elpa/eglot-inactive-regions 4b698aaeb8 42/66: always enable inactiveRegions caps, (continued)
- [nongnu] elpa/eglot-inactive-regions 4b698aaeb8 42/66: always enable inactiveRegions caps, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 6ad3ce4337 47/66: experimental support for ccls skippedRanges, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions bdf568d9ff 63/66: suppress warnings for obsolete eglot functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 20cacf2b2d 16/66: Warn if shading method is unknown, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 879c5cf032 20/66: Advice default fontify region function instead of local one, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions a17388e4b4 30/66: Update docs and comments, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 8f341e9ad7 32/66: Minor cosmetics, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 9f439654dc 27/66: Only run our fontification hook if our mode is enabled, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 42f37d0970 33/66: update README.md, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5d1580f32b 38/66: fix docs and bump version, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions cd53f3244a 56/66: rename darken-foreground dimmed faces,
ELPA Syncer <=
- [nongnu] elpa/eglot-inactive-regions 437d09e552 53/66: revert to deprecated eglot functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions bf51947630 55/66: prefer when-let if no else clause is needed, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 193827fdeb 58/66: missing clangd references after rename, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5c20f58422 60/66: clean up after review on emacs-devel, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 80c1b60009 44/66: Revert "revert to deprecated eglot functions", ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 26f3b61b45 51/66: readme update, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions badb4e403a 46/66: cleanup on major mode changes, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions a810593308 59/66: bump version to 0.6, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 7e4eb584e0 61/66: fallback to deprecated functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 6ac373dfd0 62/66: bump version after emacs-devel review, ELPA Syncer, 2024/12/06