summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2022-07-26 18:44:11 -0500
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-08-25 12:24:23 +0200
commite92c483be8ede1b4ff78743b52bb3ef80d6c3e20 (patch)
tree0b6bcb8bb555b72fb2f926c7f231c47ddad96ebf /gnu
parentb94a82dcf2bf2a44f5a03acc9f39489059b1a230 (diff)
downloadguix-e92c483be8ede1b4ff78743b52bb3ef80d6c3e20.tar.gz
gnu: Add emacs-consult-lsp.
* gnu/packages/emacs-xyz.scm (emacs-consult-lsp): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b17d6c3423..f01af98c7c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31980,6 +31980,29 @@ scrolling, and they even don't go away when switching buffer, but you
 can bind a popon to a specific buffer to only show on that buffer.")
       (license license:gpl3+))))
 
+(define-public emacs-consult-lsp
+  (package
+    (name "emacs-consult-lsp")
+    (version "1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/gagbo/consult-lsp")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14dyclspkf1a34nvjj800ckz1phsizq07ps8k4x0ah6ik0hfhy1w"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-consult emacs-lsp-mode emacs-f))
+    (home-page "https://github.com/gagbo/consult-lsp/")
+    (synopsis "LSP-mode and consult helping each other")
+    (description
+"@code{emacs-consult-lsp} provides helpers for interactively selecting LSP
+workspace diagnostics, symbols, and file symbols from @{emacs-lsp-mode}
+by leveraging @code{emacs-consult} APIs.")
+    (license license:expat)))
+
 (define-public emacs-bitbake-modes
   (package
    (name "emacs-bitbake-modes")