[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25713: [PATCH 01/11] gnu: Add vim-neocomplete.
From: |
contact . ng0 |
Subject: |
bug#25713: [PATCH 01/11] gnu: Add vim-neocomplete. |
Date: |
Tue, 14 Feb 2017 13:18:19 +0000 |
From: ng0 <address@hidden>
* gnu/packages/vim.scm (vim-neocomplete): New variable.
---
gnu/packages/vim.scm | 42 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 41 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index f042aba93..9b5658dde 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <address@hidden>
;;; Copyright © 2016 Efraim Flashner <address@hidden>
-;;; Copyright © 2016 ng0 <address@hidden>
+;;; Copyright © 2016, 2017 ng0 <address@hidden>
;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -157,6 +157,46 @@ configuration files.")
("tcl" ,tcl)
,@(package-inputs vim)))))
+(define-public vim-neocomplete
+ (package
+ (name "vim-neocomplete")
+ (version "2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/Shougo/neocomplete.vim/"
+ "archive/ver." version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1307gbrdwam2akq9w2lpijc41740i4layk2qkd9sjkqxfch5lni2"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (vimfiles (string-append out "/share/vim/vimfiles"))
+ (autoload (string-append vimfiles "/autoload"))
+ (doc (string-append vimfiles "/doc"))
+ (plugin (string-append vimfiles "/plugin")))
+ (copy-recursively "autoload" autoload)
+ (copy-recursively "doc" doc)
+ (copy-recursively "plugin" plugin)
+ #t))))))
+ (synopsis "Next generation completion framework for Vim")
+ (description
+ "@code{neocomplete}, an abbreviation of 'neo-completion with cache',
+is a plugin for Vim.
+It provides keyword completion system by maintaining a cache of keywords in
+the current buffer. Neocomplete can be customized easily and has many more
features than Vim's built-in completion.")
+ (home-page "https://github.com/Shougo/neocomplete.vim/")
+ (license license:expat)))
+
(define-public neovim
(package
(name "neovim")
--
2.11.1
- bug#25713: Mixed collecton of vim-plugins, ng0, 2017/02/14
- bug#25713: [PATCH 01/11] gnu: Add vim-neocomplete.,
contact . ng0 <=
- bug#25713: [PATCH 04/11] gnu: Add vim-neosnippet., contact . ng0, 2017/02/14
- bug#25713: [PATCH 02/11] gnu: Add vim-scheme., contact . ng0, 2017/02/14
- bug#25713: [PATCH 06/11] gnu: Add vim-context-filetype., contact . ng0, 2017/02/14
- bug#25713: [PATCH 08/11] gnu: Add vim-airline-themes., contact . ng0, 2017/02/14
- bug#25713: [PATCH 07/11] gnu: Add vim-airline., contact . ng0, 2017/02/14
- bug#25713: [PATCH 05/11] gnu: Add vim-luna., contact . ng0, 2017/02/14
- bug#25713: [PATCH 03/11] gnu: Add vim-neosnippet-snippets., contact . ng0, 2017/02/14
- bug#25713: Mixed collecton of vim-plugins, ng0, 2017/02/14
- bug#25713: Mixed collecton of vim-plugins, Kei Kebreau, 2017/02/28