all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Filippo Argiolas <filippo.argiolas@gmail.com>
To: emacs-devel@gnu.org
Subject: [NonGNU ELPA] new package: clangd-inactive-regions
Date: Fri, 1 Nov 2024 10:02:16 +0100	[thread overview]
Message-ID: <CAOdrLGKtYNg70aY-FVhDxs0YL2Lrk-ZW0MpPP=eakLxfj2sUFA@mail.gmail.com> (raw)

[-- 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


                 reply	other threads:[~2024-11-01  9:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOdrLGKtYNg70aY-FVhDxs0YL2Lrk-ZW0MpPP=eakLxfj2sUFA@mail.gmail.com' \
    --to=filippo.argiolas@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.