[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25713: [PATCH 03/11] gnu: Add vim-neosnippet-snippets.
From: |
contact . ng0 |
Subject: |
bug#25713: [PATCH 03/11] gnu: Add vim-neosnippet-snippets. |
Date: |
Tue, 14 Feb 2017 13:18:21 +0000 |
From: ng0 <address@hidden>
* gnu/packages/vim.scm (vim-neosnippet-snippets): New variable.
---
gnu/packages/vim.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 1fcf51b25..3a26ec2af 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -198,6 +198,45 @@ the current buffer. Neocomplete can be customized easily
and has many more feat
(home-page "https://github.com/Shougo/neocomplete.vim/")
(license license:expat)))
+;; There are no release tarballs.
+(define-public vim-neosnippet-snippets
+ (let ((commit "8e2b1c0cab9ed9a832b3743dbb65e9966a64331a")
+ (revision "1"))
+ (package
+ (name "vim-neosnippet-snippets")
+ (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Shougo/neosnippet-snippets")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "151wpvbj6jb9jdkbhj3b77f5sq7y328spvwfbqyj1y32rg4ifmc6"))))
+ (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")))
+ (copy-recursively "neosnippets"
+ (string-append vimfiles "/neosnippets"))
+ #t))))))
+ (synopsis "Snippets for neosnippet")
+ (description
+ "@code{neosnippet-snippets} provides standard snippets for the Vim plugin
address@hidden Snippets are small templates for commonly used code that
+you can fill in on the fly.")
+ (home-page "https://github.com/Shougo/neosnippet-snippets")
+ (license license:expat))))
+
(define-public vim-scheme
(let ((commit "93827987c10f2d5dc519166a761f219204926d5f")
(revision "1"))
--
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, 2017/02/14
- 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 <=
- bug#25713: Mixed collecton of vim-plugins, ng0, 2017/02/14
- bug#25713: Mixed collecton of vim-plugins, Kei Kebreau, 2017/02/28