From 4d4ba3ca29c709c9d632151870c2dd0775604556 Mon Sep 17 00:00:00 2001 From: Renken Date: Wed, 10 Aug 2022 00:56:41 +0200 Subject: pkgs: vim: add vim-deoplete --- shino/packages/vim.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/shino/packages/vim.scm b/shino/packages/vim.scm index a9e0434..a9d5f5e 100644 --- a/shino/packages/vim.scm +++ b/shino/packages/vim.scm @@ -8,6 +8,7 @@ #:use-module (guix git-download) #:use-module (guix build-system copy) #:use-module (gnu packages) + #:use-module (gnu packages vim) #:use-module (gnu packages uml)) (define-public vim-plantuml-syntax @@ -116,3 +117,34 @@ options for you: Note that this is a pure Vim implementation, and doesn’t require any external applications or interpreters.") (license #f)))) + +(define-public vim-deoplete + (let ((commit "33ed4fa0cd704999f9f74b37640bf6d7334bac37") + (revision "1")) + (package + (name "vim-deoplete") + (version (git-version "6.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shougo/deoplete.nvim") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gabd83gy3skx3q3prk6drn3dzwag5jmzmp43492mihdak0iks3i")))) + (build-system copy-build-system) + (inputs (list python-pynvim)) + (arguments + `(#:install-plan '(("autoload" "share/vim/vimfiles/") + ("doc" "share/vim/vimfiles/") + ("plugin" "share/vim/vimfiles/") + ("rplugin" "share/vim/vimfiles/")))) + (home-page "https://github.com/Shougo/deoplete.nvim") + (synopsis + "Dark powered asynchronous completion framework for neovim/Vim8") + (description + "deoplete is the abbreviation of 'dark powered neo-completion'. It +provides an asynchronous keyword completion system in the current +buffer.") + (license license:expat)))) -- cgit v1.2.3