aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-03-24 00:40:47 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-25 11:39:26 +0100
commitbb034ab0803fc2b15d8e893a3483f0fdead7b86a (patch)
tree4266a70e0b6d46e1ad07d568e881ae476476e061 /gnu/packages/emacs-xyz.scm
parentde5ea7d96193f18026e774bdd0b4247a79c39209 (diff)
downloadguix-bb034ab0803fc2b15d8e893a3483f0fdead7b86a.tar
guix-bb034ab0803fc2b15d8e893a3483f0fdead7b86a.tar.gz
gnu: Add emacs-company-lsp.
* gnu/packages/emacs-xyz.scm (emacs-company-lsp): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0f040b2b07..c2c489b217 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2959,6 +2959,34 @@ automatically inserts a Unicode opening or closing quotation mark, depending
on context.")
(license license:gpl3+)))
+(define-public emacs-company-lsp
+ (package
+ (name "emacs-company-lsp")
+ (version "2.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tigersoldier/company-lsp.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hy1x2w0yp5brm7714d1hziz3rpkywb5jp3yj78ibmi9ifny9vri"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-lsp-mode" ,emacs-lsp-mode)
+ ("emacs-company" ,emacs-company)
+ ("emacs-s" ,emacs-s)
+ ("emacs-dash" ,emacs-dash)))
+ (home-page "https://github.com/tigersoldier/company-lsp")
+ (synopsis "Completion for @code{lsp-mode}")
+ (description
+ "This package provides completion features that are not possible with
+@code{lsp-mode} and @code{company-capf} alone, including support for trigger
+characters and asynchronous fetching of completion candidates.")
+ (license license:gpl3+)))
+
(define-public emacs-scheme-complete
(let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
(package