@@ -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)))