gnu: Add emacs-eglot.

* gnu/packages/emacs-xyz.scm (emacs-eglot): New variable.
This commit is contained in:
Nicolas Goaziou 2020-05-09 22:50:27 +02:00
parent 510a8eb1b8
commit a886543672
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10675,6 +10675,29 @@ (define-public emacs-commander
Emacs.")
(license license:gpl3+)))
(define-public emacs-eglot
(package
(name "emacs-eglot")
(version "1.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"eglot-" version ".tar"))
(sha256
(base32 "15hd6sx7qrpvlvhwwkcgdiki8pswwf4mm7hkm0xvznskfcp44spx"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-jsonrpc" ,emacs-jsonrpc)))
(home-page "https://github.com/joaotavora/eglot")
(synopsis "Client for Language Server Protocol (LSP) servers")
(description
"Emacs Polyglot, or Eglot, is an Emacs @acronym{Language Server Protocol,
LSP} client that stays out of the way. It guesses the LSP program to start
for the current file, using the major mode as a hint. It prompts you to enter
one if it fails.")
(license license:gpl3+)))
;; Tests for ert-runner have a circular dependency with ecukes, and therefore
;; cannot be run
(define-public emacs-ert-runner