[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eglot-inactive-regions f47d728c65 11/66: Stage basic READM
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eglot-inactive-regions f47d728c65 11/66: Stage basic README |
Date: |
Fri, 6 Dec 2024 06:59:51 -0500 (EST) |
branch: elpa/eglot-inactive-regions
commit f47d728c652ce5d0a1351d1babe3e57ef16856fe
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>
Stage basic README
---
README.md | 43 ++++++++++++++++++++++++
screenshots/darken-foreground-gruvbox-dark.png | Bin 0 -> 325931 bytes
screenshots/shade-background-modus-operandi.png | Bin 0 -> 380856 bytes
3 files changed, 43 insertions(+)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000000..bb5522ee7c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,43 @@
+# clangd-inactive-regions.el
+
+## About
+
+An eglot extension to support clangd inactiveRegions extension
+introduced in clangd-17. Highlights inactive code in a LSP aware way.
+
+Listens to inactiveRegions notifications and shades them with one of
+the available-methods:
+
+* `darken-foreground` makes inactive code semitransparent blending
+ current foreground and background colors
+* `shade-background` makes inactive code background slighly darker or
+ lighter depending on current theme
+* `shadow` applies the shadow face to inactive code
+
+## Screenshots
+
+#### `darken-foreground` method, gruvbox dark theme
+
+![darken-foreground](./screenshots/darken-foreground-gruvbox-dark.png)
+
+#### `shade-background` method, modus operandi theme
+
+![shade-background](./screenshots/shade-background-modus-operandi.png)
+
+## Installation
+
+At the moment the package is little more than an experiment. If you
+want to try it just copy the .el file somewhere in the load path.
+
+Feedback, issues and pull requests more than welcome!
+
+## Usage
+
+```lisp
+(use-package clangd-inactive-regions
+ :ensure nil
+ :init
+ (setq clangd-inactive-regions-method "darken-foreground")
+ (setq clangd-inactive-regions-opacity 0.55)
+ (add-hook 'eglot-managed-mode-hook #'clangd-inactive-regions-mode))
+```
diff --git a/screenshots/darken-foreground-gruvbox-dark.png
b/screenshots/darken-foreground-gruvbox-dark.png
new file mode 100644
index 0000000000..0c0962d125
Binary files /dev/null and b/screenshots/darken-foreground-gruvbox-dark.png
differ
diff --git a/screenshots/shade-background-modus-operandi.png
b/screenshots/shade-background-modus-operandi.png
new file mode 100644
index 0000000000..f0bbb7f3eb
Binary files /dev/null and b/screenshots/shade-background-modus-operandi.png
differ
- [nongnu] branch elpa/eglot-inactive-regions created (now 2c83a3230d), ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions f47d728c65 11/66: Stage basic README,
ELPA Syncer <=
- [nongnu] elpa/eglot-inactive-regions 65fbd7a7a1 08/66: Support for different shading methods to render inactive regions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions ea8da46342 01/66: Initial commit, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 9dba1b222d 14/66: Check for valid ranges when setting parameters, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 4f5ab3203c 17/66: No need to copy-tree ranges, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5528f4d3e1 03/66: fix gpl preamble, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 4fc6480bed 18/66: Move forward if forward-same-syntax does not, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 2e52c1a10a 19/66: Use my own forward function, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3876101626 31/66: Update README., ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions b0ade8c12e 21/66: Handle face list properties, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3d3280c415 48/66: rename to eglot-inactive-regions.el, ELPA Syncer, 2024/12/06