Subject: [PATCH 22/29] gnu: Add neovim-lspconfig.

From: "(" <[email-masked]>
Date: Wed, 24 Aug 2022 18:08:49 +0100

* gnu/packages/vim.scm (neovim-lspconfig): New variable.
---
 gnu/packages/vim.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index d4642e26a9..61e1d9afac 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1796,3 +1796,28 @@ (define-public neovim-solarized8
      (list #:install-plan
            #~'(("colors" "share/nvim/site/pack/guix/start/solarized8/")
                ("doc" "share/nvim/site/pack/guix/start/solarized8/"))))))
+
+(define-public neovim-lspconfig
+  (package
+    (name "neovim-lspconfig")
+    (version "0.1.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/neovim/nvim-lspconfig")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "1x9b87d965q9a7a726dw6q6k0lady04acg0n4c1shjwin7cl6kx9"))))
+    (build-system copy-build-system)
+    (arguments
+     (list #:install-plan
+           #~'(("doc" "share/nvim/site/pack/guix/start/lspconfig/")
+               ("lua" "share/nvim/site/pack/guix/start/lspconfig/")
+               ("plugin" "share/nvim/site/pack/guix/start/lspconfig/"))))
+    (home-page "https;//github.com/neovim/nvim-lspconfig")
+    (synopsis "Default language server configurations for Neovim")
+    (description
+     "This package provides the canonical server configuration for
+Neovim's builtin LSP client.")
+   (license license:asl2.0)))
-- 
2.37.2