all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [NonGNU ELPA] new package: clangd-inactive-regions
@ 2024-11-01  9:02 Filippo Argiolas
  0 siblings, 0 replies; only message in thread
From: Filippo Argiolas @ 2024-11-01  9:02 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

Hey everyone,

Just wanted to check if there's any interest in including my little
package in NonGNU ELPA:

https://github.com/fargiolas/clangd-inactive-regions.el

It's an eglot extension that listens to clangd inactiveRegions
notifications and shades inactive code accordingly. It's useful to
highlight disabled code sections in a LSP aware way, honoring current
building options and defines.

It started as little more than an experiment but I've been using it on
the day job with a ifdef-heavy codebase and it has been serving me
well for more than a year. Thought it could be useful to other people
too.

I'm not exactly an elisp expert, so feedback is very welcome!

Cheers,
Filippo

[-- Attachment #2: 0001-elpa-packages-clangd-inactive-regions-New-package.patch --]
[-- Type: application/octet-stream, Size: 843 bytes --]

From 6d68c44584015416111a383d3821886a23e930c5 Mon Sep 17 00:00:00 2001
From: Filippo Argiolas <filippo.argiolas@gmail.com>
Date: Fri, 1 Nov 2024 09:38:13 +0100
Subject: [PATCH] * elpa-packages (clangd-inactive-regions): New package

---
 elpa-packages | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elpa-packages b/elpa-packages
index 86d753c8da..1089888ae4 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -99,6 +99,9 @@
   :ignored-files ("LICENSE" "doc" "logo" "refcard" "test")
   :news "CHANGELOG.md")
 
+ (clangd-inactive-regions :url "https://github.com/fargiolas/clangd-inactive-regions.el"
+  :ignored-files ("LICENSE" "screenshots"))
+
  (clojure-mode		:url "https://github.com/clojure-emacs/clojure-mode"
   :ignored-files ("clojure-mode-extra-font-locking.el" "doc" "test" "test.clj")
   :news "CHANGELOG.md")
-- 
2.44.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-01  9:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01  9:02 [NonGNU ELPA] new package: clangd-inactive-regions Filippo Argiolas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.