guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add vim-characterize.


From: guix-commits
Subject: 01/03: gnu: Add vim-characterize.
Date: Sun, 31 Oct 2021 09:31:50 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 508b072ab4b0327f16418b528a3cef2a58cfd27e
Author: Foo Chuan Wei <chuanwei.foo@hotmail.com>
AuthorDate: Tue Oct 12 15:34:15 2021 +0000

    gnu: Add vim-characterize.
    
    * gnu/packages/vim.scm (vim-characterize): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/vim.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 624ee38..8db911b 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1219,3 +1219,37 @@ text object.  The signs are always up to date and the 
plugin never saves your
 buffer.")
       (home-page "https://github.com/airblade/vim-gitgutter";)
       (license license:expat))))
+
+(define-public vim-characterize
+  (package
+    (name "vim-characterize")
+    (version "1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/tpope/vim-characterize";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ppsbsd696ih40d9f76mdl9sd9y7p2pvm65qmvq4b2zhkv4xbpxz"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan
+       '(("autoload" "share/vim/vimfiles/")
+         ("doc" "share/vim/vimfiles/")
+         ("plugin" "share/vim/vimfiles/"))))
+    (home-page "https://github.com/tpope/vim-characterize";)
+    (synopsis "Vim plugin for showing Unicode character metadata")
+    (description
+     "In Vim, pressing @code{ga} on a character reveals its representation in
+decimal, octal, and hex.  Characterize.vim modernizes this with the following
+additions:
+@itemize
+@item Unicode character names: @code{U+00A9 COPYRIGHT SYMBOL}
+@item Vim digraphs (type after @code{<C-K>} to insert the character):
+@code{Co}, @code{cO}
+@item Emoji codes: @code{:copyright:}
+@item HTML entities: @code{&copy;}
+@end itemize")
+    (license license:vim)))



reply via email to

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