summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrett Gilio <brettg@posteo.net>2019-02-19 22:02:29 -0600
committerRicardo Wurmus <rekado@elephly.net>2019-03-14 11:40:07 +0100
commit60adaae0cfaeaeebacf703c8d021d6130fa5df59 (patch)
treebca119b1bbf81deae5cd2c700f6e959b37b9f710
parent3490212a413c8f5f28b574f9b692bb28e081c7d0 (diff)
downloadguix-60adaae0cfaeaeebacf703c8d021d6130fa5df59.tar.gz
gnu: Add emacs-lsp-mode.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/emacs-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 428be7f7ad..d296c5e639 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13452,3 +13452,30 @@ constant expressions.")
        "This package provides a major mode @code{dockerfile-mode} for use with
 the standard @code{Dockerfile} file format.")
       (license license:asl2.0))))
+
+(define-public emacs-lsp-mode
+  (package
+    (name "emacs-lsp-mode")
+    (version "6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emacs-lsp/lsp-mode.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1v1mq6ixzlgiazj8fmg4xaqhsqn3l89iqy74yndhvzh2rdf0pbkl"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-f" ,emacs-f)
+       ("emacs-ht" ,emacs-ht)
+       ("emacs-spinner" ,emacs-spinner)))
+    (home-page "https://github.com/emacs-lsp/lsp-mode")
+    (synopsis "Emacs client and library for the Language Server Protocol")
+    (description "@code{LSP-mode} is a client and library implmentation for
+the Language Server Protocol.  This mode aims to provide an IDE-like
+experience by providing optional integration with other popular Emacs packages
+like @code{company}, @code{flycheck}, and @code{projectile}.")
+    (license license:gpl3+)))