[PATCH] gnu: Add vim-characterize

DoneSubmitted by Foo Chuan Wei.
Details
2 participants
  • Foo Chuan Wei
  • Efraim Flashner
Owner
unassigned
Severity
normal
F
F
Foo Chuan Wei wrote on 12 Oct 2021 17:34
(address . guix-patches@gnu.org)
PU1PR01MB215564EBBAD5CF0399D740A88DB69@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
* gnu/packages/vim.scm (vim-characterize): New variable.
---
gnu/packages/vim.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 92189b7094..54bea2dfca 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1069,3 +1069,37 @@ your code every time you make a change.  @code{Vim-slime} is an attempt at
 getting some of these features into Vim.  It works with any REPL and isn't tied
 to Lisp.")
       (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)))

base-commit: b9c7bbba38f4fb12d2735f2683a40c035f4e7f5f
-- 
2.25.1
E
E
Efraim Flashner wrote on 31 Oct 2021 14:31
(name . Foo Chuan Wei)(address . chuanwei.foo@hotmail.com)(address . 51163-done@debbugs.gnu.org)
YX6aw1CxNi62eqHG@3900XT
Another Tim Pope addon. Patch pushed!

--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmF+msMACgkQQarn3Mo9
g1E4OBAApREPLl30v/ifcRZGehYVmXhyRiYVydqwjwECDpYnUnmJseXqzk0udOm9
va1zmT9jBv2eAypiPC7UBj080h6WgWSFbiSfns6ryjLakB9Hn2+JPVd3shE6Aqn2
VmXmvZPsirZEuoGi/sPz3BWTxohauhJrMPZ/9oR0QivjlguzIwymqxyGy6n5xYTH
8m0IMjdg3EdDBPOItJrW/AvoMQr7nE6/olog6wrGCroLpV2Sg+OvtGFt7MaAswjh
oomgL9Wj0vdoYKfsuJzQG/WLjvwpgUUJ/njSRafOEhC0415p90y8LEwNtgGZuil1
vq1ADARgy8vbbWpFW61AbuLXlKoZMsNCUGjXSIqOvNgMKY+rWFNH8bF6X2xNhKqM
2yeHA0lfDfDCvybXuSkVAZKlBhR6nQNUEJoOrZbZ3P+xJGlg0G+/IsxyzqryEzHq
7LwTwsrMbNGdsb6fPCWNNUChHYfLTWposqF07mkxtmtZ4dx63ZMmeZKm0Veyr3XE
3ld68p5dgX80TyaybmPK2/FtARUQPtx1Us/I4CyH/izoXqVPmfBk53xaH/6sS2+q
lz2KQC3Tazn4/rUiuvPmCXvrgUFKJB+oEI6O4qXmPXBuR63cu9B+fxsIT9dC/pis
BfYLMrOupUvosk/VNFN9TyGW2oVAsH6+gPrqG+jXjYiEoE2hVT0=
=pbTI
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 51163@debbugs.gnu.org