NonGNU ELPA - eglot-inactive-regions

eglot-inactive-regions Atom Feed

Description
Highlight inactive code regions with eglot power
Latest
eglot-inactive-regions-0.6.3.tar (.sig), 2024-Dec-06, 60.0 KiB
Maintainer
Filippo Argiolas <filippo.argiolas@gmail.com>
Website
https://github.com/fargiolas/eglot-inactive-regions
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This package extends Eglot to enable inactive code regions
detection and shading.

LSP servers provide information about currently disabled
preprocessor branches with knowledge about build-time options and
defines.

This mode provides visual feedback to quickly identify these disabled
code regions.  Supports three visualization styles:
 - `shadow-face' applies shadow face from current theme
 - `shade-background' makes the background slightly lighter or darker
 - `darken-foreground' dims foreground colors

Currently supported servers:
 - `clangd' with inactiveRegions extension (needs clangd-17+)
 - `ccls' with skippedRegions extension