guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57389] [PATCH 13/29] gnu: Add neovim-cmp.


From: (
Subject: [bug#57389] [PATCH 13/29] gnu: Add neovim-cmp.
Date: Wed, 24 Aug 2022 18:08:40 +0100

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

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 39622ac192..0ceb592ab8 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1598,3 +1598,31 @@ (define-public neovim-luasnip
       "This package provides a code snippet engine for Neovim written
 in Lua.")
      (license license:asl2.0))))
+
+(define-public neovim-cmp
+  (package
+    (name "neovim-cmp")
+    (version "0.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hrsh7th/nvim-cmp";)
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0649n476jd6dqd79fmywmigz19sb0s344ablwr25gr23fp46hzaz"))))
+    (build-system copy-build-system)
+    (arguments
+     (list #:install-plan
+           #~'(("autoload" "share/nvim/site/pack/guix/start/cmp/")
+               ("doc" "share/nvim/site/pack/guix/start/cmp/")
+               ("lua" "share/nvim/site/pack/guix/start/cmp/")
+               ("plugin" "share/nvim/site/pack/guix/start/cmp/"))))
+    (home-page "https://github.com/hrsh7th/nvim-cmp";)
+    (synopsis "Autocompletion for Neovim")
+    (description
+     "This package provides a completion engine for Neovim written in
+Lua.  Completion sources for the engine are not included in this
+package; you need to install other packages (such as @code{cmp-lsp})
+to make use of it.")
+    (license license:expat)))
-- 
2.37.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]