projects/guix·blob mpd-fix-groups · refs

1833 lines · 71.7 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Cyril Roelandt <[email protected]>
3;;; Copyright © 2016-2025 Efraim Flashner <[email protected]>
4;;; Copyright © 2016, 2017 Nikita <[email protected]>
5;;; Copyright © 2017 Ricardo Wurmus <[email protected]>
6;;; Copyright © 2017 Marius Bakke <[email protected]>
7;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <[email protected]>
8;;; Copyright © 2019 HiPhish <[email protected]>
9;;; Copyright © 2019 Julien Lepiller <[email protected]>
10;;; Copyright © 2019, 2020 Jakub Kądziołka <[email protected]>
11;;; Copyright © 2020, 2021 Jack Hill <[email protected]>
12;;; Copyright © 2021 Simon Tournier <[email protected]>
13;;; Copyright © 2021 Tissevert <[email protected]>
14;;; Copyright © 2021 Foo Chuan Wei <[email protected]>
15;;; Copyright © 2022, 2023 Luis Henrique Gomes Higino <[email protected]>
16;;; Copyright © 2023 Charles Jackson <[email protected]>
17;;; Copyright © 2023 Foundation Devices, Inc. <[email protected]>
18;;; Copyright © 2023, 2024 Nguyễn Gia Phong <[email protected]>
19;;;
20;;; This file is part of GNU Guix.
21;;;
22;;; GNU Guix is free software; you can redistribute it and/or modify it
23;;; under the terms of the GNU General Public License as published by
24;;; the Free Software Foundation; either version 3 of the License, or (at
25;;; your option) any later version.
26;;;
27;;; GNU Guix is distributed in the hope that it will be useful, but
28;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30;;; GNU General Public License for more details.
31;;;
32;;; You should have received a copy of the GNU General Public License
33;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
34
35(define-module (gnu packages vim)
36 #:use-module ((guix licenses) #:prefix license:)
37 #:use-module (guix packages)
38 #:use-module (guix gexp)
39 #:use-module (guix utils)
40 #:use-module (guix download)
41 #:use-module (guix git-download)
42 #:use-module (guix build-system cmake)
43 #:use-module (guix build-system copy)
44 #:use-module (guix build-system gnu)
45 #:use-module (guix build-system python)
46 #:use-module (guix build-system pyproject)
47 #:use-module (guix build-system vim)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages acl)
50 #:use-module (gnu packages admin) ; For GNU hostname
51 #:use-module (gnu packages attr)
52 #:use-module (gnu packages autotools)
53 #:use-module (gnu packages base)
54 #:use-module (gnu packages check)
55 #:use-module (gnu packages code)
56 #:use-module (gnu packages coq)
57 #:use-module (gnu packages enlightenment)
58 #:use-module (gnu packages fontutils)
59 #:use-module (gnu packages gawk)
60 #:use-module (gnu packages gettext)
61 #:use-module (gnu packages glib)
62 #:use-module (gnu packages gperf)
63 #:use-module (gnu packages groff)
64 #:use-module (gnu packages gtk)
65 #:use-module (gnu packages image)
66 #:use-module (gnu packages jemalloc)
67 #:use-module (gnu packages libevent)
68 #:use-module (gnu packages linux)
69 #:use-module (gnu packages lisp-xyz)
70 #:use-module (gnu packages lua)
71 #:use-module (gnu packages ncurses)
72 #:use-module (gnu packages perl)
73 #:use-module (gnu packages pkg-config)
74 #:use-module (gnu packages python)
75 #:use-module (gnu packages python-build)
76 #:use-module (gnu packages python-xyz)
77 #:use-module (gnu packages ruby)
78 #:use-module (gnu packages serialization)
79 #:use-module (gnu packages shells)
80 #:use-module (gnu packages tcl)
81 #:use-module (gnu packages text-editors)
82 #:use-module (gnu packages textutils)
83 #:use-module (gnu packages terminals)
84 #:use-module (gnu packages tree-sitter)
85 #:use-module (gnu packages xdisorg)
86 #:use-module (gnu packages xorg))
87
88(define-public vim
89 (package
90 (name "vim")
91 (version "9.1.1525")
92 (source (origin
93 (method git-fetch)
94 (uri (git-reference
95 (url "https://github.com/vim/vim")
96 (commit (string-append "v" version))))
97 (file-name (git-file-name name version))
98 (sha256
99 (base32
100 "19qkf9hq4rd4y3592wxd2x7bw2wxq0p607wddv4p8cv8wsk5y7dv"))))
101 (build-system gnu-build-system)
102 (arguments
103 `(#:test-target "test"
104 #:parallel-tests? #f
105 #:phases
106 (modify-phases %standard-phases
107 (add-after 'configure 'patch-absolute-paths
108 (lambda* (#:key inputs #:allow-other-keys)
109 (substitute* '("src/testdir/Makefile"
110 "src/testdir/test_filetype.vim"
111 "src/testdir/test_normal.vim"
112 "src/testdir/test_popupwin.vim"
113 "src/testdir/test_prompt_buffer.vim"
114 "src/testdir/test_shell.vim"
115 "src/testdir/test_suspend.vim"
116 "src/testdir/test_terminal.vim"
117 "src/testdir/test_terminal2.vim")
118 (("/bin/sh") (which "sh")))
119 (substitute* "src/testdir/test_autocmd.vim"
120 (("/bin/kill") (which "kill")))
121 (substitute* '("runtime/syntax/sh.vim"
122 "src/if_cscope.c")
123 (("/bin/sh") (search-input-file inputs "/bin/sh")))))
124 (add-before 'check 'set-environment-variables
125 (lambda* (#:key inputs #:allow-other-keys)
126 ;; One of the tests tests timezone-dependent functions.
127 (setenv "TZDIR"
128 (search-input-directory inputs "share/zoneinfo"))
129
130 ;; Make sure the TERM environment variable is set for the tests.
131 (setenv "TERM" "xterm")
132
133 ;; Ignore failure of some flaky tests.
134 (setenv "TEST_MAY_FAIL"
135 (string-join
136 (list "Test_diff_overlapped_diff_blocks_will_be_merged"
137 "Test_linematch_diff_grouping")
138 ","))))
139 (add-before 'check 'skip-or-fix-failing-tests
140 (lambda _
141 ;; This test failure is shared between BSD and Guix.
142 (with-fluids ((%default-port-encoding #f))
143 (substitute* "src/testdir/test_writefile.vim"
144 (("!has\\('bsd'\\)") "0")))
145
146 ;; These tests crash the build environment.
147 (substitute* "src/testdir/Make_all.mak"
148 ((".*test_plugin_glvs.*") ""))
149
150 ;; These tests check how the terminal looks after executing some
151 ;; actions. The path of the bash binary is shown, which results in
152 ;; a difference being detected. Patching the expected result is
153 ;; non-trivial due to the special format used, so skip the test.
154 (substitute* "src/testdir/test_messages.vim"
155 ((".*Test_echo_verbose_system.*" line)
156 (string-append line "return\n")))
157 (substitute* "src/testdir/test_normal.vim"
158 ((".*Test_mouse_shape_after_cancelling_gr.*" line)
159 (string-append line "return\n")))
160 (substitute* "src/testdir/test_terminal.vim"
161 ((".*Test_open_term_from_cmd.*" line)
162 (string-append line "return\n"))
163 ((".*Test_terminal_postponed_scrollback.*" line)
164 (string-append line "return\n"))
165 ((".*Test_combining_double_width.*" line)
166 (string-append line "return\n")))
167 (substitute* "src/testdir/test_popupwin.vim"
168 ((".*Test_popup_drag_termwin.*" line)
169 (string-append line "return\n")))
170 (with-fluids ((%default-port-encoding #f))
171 (substitute* "src/testdir/test_writefile.vim"
172 ;; No setfattr in the build environment.
173 ((".*Test_write_with_xattr_support.*" line)
174 (string-append line "return\n"))))
175 ;; These depend on full bash.
176 (with-directory-excursion "runtime/syntax/testdir/input"
177 (for-each delete-file
178 (list "sh_11.sh"
179 "sh_12.sh"
180 "sh_14.sh"
181 "sh_sundrous.bash")))))
182 (add-before 'install 'fix-installman.sh
183 (lambda _
184 (substitute* "src/installman.sh"
185 (("/bin/sh")
186 (which "sh")))))
187 (add-after 'install 'install-guix.vim
188 (lambda* (#:key inputs outputs #:allow-other-keys)
189 (let ((vimdir (string-append (assoc-ref outputs "out") "/share/vim")))
190 (mkdir-p vimdir)
191 (copy-file (assoc-ref inputs "guix.vim")
192 (string-append vimdir "/vimrc"))))))))
193 (inputs
194 (list gawk ncurses perl tcsh)) ; For runtime/tools/vim32
195 (native-inputs
196 `(("libtool" ,libtool)
197 ("guix.vim" ,(search-auxiliary-file "guix.vim"))
198
199 ;; For tests.
200 ("tzdata" ,tzdata-for-tests)))
201 (home-page "https://www.vim.org/")
202 (synopsis "Text editor based on vi")
203 ;; The description shares language with the vim-full package. When making
204 ;; changes, check if the other description also needs to be updated.
205 (description
206 "Vim is a highly configurable text editor built to enable efficient text
207editing. It is an improved version of the vi editor distributed with most UNIX
208systems.
209
210Vim is often called a \"programmer's editor,\" and so useful for programming
211that many consider it an entire IDE. It's not just for programmers, though.
212Vim is perfect for all kinds of text editing, from composing email to editing
213configuration files.")
214 (license license:vim)))
215
216(define-public xxd
217 (package (inherit vim)
218 (name "xxd")
219 (arguments
220 (list
221 #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
222 #:tests? #f ; there are none
223 #:phases
224 #~(modify-phases %standard-phases
225 (delete 'configure)
226 (add-after 'unpack 'chdir
227 (lambda _
228 (chdir "src/xxd")))
229 (replace 'install
230 (lambda* (#:key outputs #:allow-other-keys)
231 (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
232 (install-file "xxd" bin)))))))
233 (inputs `())
234 (native-inputs `())
235 (synopsis "Hexdump utility from vim")
236 (description "This package provides the Hexdump utility xxd that comes
237with the editor vim.")))
238
239(define-public vim-full
240 (package
241 (inherit vim)
242 (name "vim-full")
243 (arguments
244 `(#:configure-flags
245 (list (string-append "--with-lua-prefix="
246 (assoc-ref %build-inputs "lua"))
247 "--with-features=huge"
248 "--enable-python3interp=yes"
249 "--enable-perlinterp=yes"
250 "--enable-rubyinterp=yes"
251 "--enable-tclinterp=yes"
252 "--enable-luainterp=yes"
253 "--enable-cscope"
254 "--enable-sniff"
255 "--enable-multibyte"
256 "--enable-xim"
257 "--disable-selinux"
258 "--enable-gui")
259 ,@(substitute-keyword-arguments (package-arguments vim)
260 ((#:phases phases)
261 `(modify-phases ,phases
262 (add-before 'check 'skip-some-more-tests
263 (lambda _
264 ;; Fontconfig can't figure out its cache directory
265 (substitute* "src/testdir/test_startup.vim"
266 ((".*Test_progname.*" line)
267 (string-append line "return\n")))))
268 (add-before 'check 'start-xserver
269 (lambda* (#:key inputs #:allow-other-keys)
270 ;; Some tests require an X server, but does not start one.
271 (let ((xorg-server (assoc-ref inputs "xorg-server"))
272 (display ":1"))
273 (setenv "DISPLAY" display)
274 (zero? (system (string-append xorg-server "/bin/Xvfb "
275 display " &")))))))))))
276 (native-inputs
277 (modify-inputs (package-native-inputs vim)
278 (prepend pkg-config xorg-server-for-tests)))
279 (inputs
280 `(("acl" ,acl)
281 ("at-spi2-core" ,at-spi2-core)
282 ("attr" ,attr)
283 ("cairo" ,cairo)
284 ("fontconfig" ,fontconfig)
285 ("freetype" ,freetype)
286 ("gdk-pixbuf" ,gdk-pixbuf)
287 ("gettext" ,gettext-minimal)
288 ("glib" ,glib)
289 ("gpm" ,gpm)
290 ("gtk" ,gtk+-2)
291 ("harfbuzz" ,harfbuzz)
292 ("libice" ,libice)
293 ("libpng" ,libpng)
294 ("libsm" ,libsm)
295 ("libx11" ,libx11)
296 ("libxdmcp" ,libxdmcp)
297 ("libxt" ,libxt)
298 ("libxpm" ,libxpm)
299 ("lua" ,lua)
300 ("pango" ,pango)
301 ("pixman" ,pixman)
302 ("python-3" ,python)
303 ("ruby" ,ruby)
304 ("tcl" ,tcl)
305 ,@(package-inputs vim)))
306 ;; The description shares language with the vim package. When making
307 ;; changes, check if the other description also needs to be updated.
308 (description "Vim is a highly configurable text editor built to enable efficient text
309editing. It is an improved version of the vi editor distributed with most UNIX
310systems.
311
312Vim is often called a \"programmer's editor,\" and so useful for programming
313that many consider it an entire IDE. It's not just for programmers, though.
314Vim is perfect for all kinds of text editing, from composing email to editing
315configuration files.
316
317This package provides a version of Vim with many optional features enabled.
318It includes a graphical interface, @command{gvim}, and support for plugins
319written in the Python 3, Perl, Ruby, Tcl, and Lua programming languages.")))
320
321(define-public vim-neocomplete
322 (package
323 (name "vim-neocomplete")
324 (version "2.1")
325 (source
326 (origin
327 (method git-fetch)
328 (uri (git-reference
329 (url "https://github.com/Shougo/neocomplete.vim")
330 (commit (string-append "ver." version))))
331 (file-name (git-file-name name version))
332 (sha256
333 (base32
334 "1h6sci5mhdfg6sjsjpi8l5li02hg858zcayiwl60y9j2gqnd18lv"))))
335 (build-system vim-build-system)
336 (arguments
337 (list #:plugin-name "neocomplete"))
338 (synopsis "Next generation completion framework for Vim")
339 (description
340 "@code{neocomplete}, an abbreviation of 'neo-completion with cache',
341is a plugin for Vim.
342It provides keyword completion system by maintaining a cache of keywords in
343the current buffer. Neocomplete can be customized easily and has many more
344features than Vim's built-in completion.")
345 (home-page "https://github.com/Shougo/neocomplete.vim/")
346 (license license:expat)))
347
348;; There are no release tarballs.
349(define-public vim-neosnippet-snippets
350 (let ((commit "8e2b1c0cab9ed9a832b3743dbb65e9966a64331a")
351 (revision "1"))
352 (package
353 (name "vim-neosnippet-snippets")
354 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
355 (source
356 (origin
357 (method git-fetch)
358 (uri (git-reference
359 (url "https://github.com/Shougo/neosnippet-snippets")
360 (commit commit)))
361 (file-name (string-append name "-" version "-checkout"))
362 (sha256
363 (base32
364 "151wpvbj6jb9jdkbhj3b77f5sq7y328spvwfbqyj1y32rg4ifmc6"))))
365 (build-system vim-build-system)
366 (arguments
367 (list #:plugin-name "neosnippet")) ; Extends neosnippet
368 (synopsis "Snippets for neosnippet")
369 (description
370 "@code{neosnippet-snippets} provides standard snippets for the Vim plugin
371@code{neosnippet}. Snippets are small templates for commonly used code that
372you can fill in on the fly.")
373 (home-page "https://github.com/Shougo/neosnippet-snippets")
374 (license license:expat))))
375
376;; The released tarball is too old for our Vim.
377(define-public vim-neosnippet
378 (let ((commit "1bd7e23c79b73da16eb0c9469b25c376d3594583")
379 (revision "1"))
380 (package
381 (name "vim-neosnippet")
382 (version (string-append "4.2-" revision "." (string-take commit 7)))
383 (source
384 (origin
385 (method git-fetch)
386 (uri (git-reference
387 (url "https://github.com/Shougo/neosnippet.vim/")
388 (commit commit)))
389 (file-name (string-append name "-" version "-checkout"))
390 (sha256
391 (base32
392 "0k80syscmpnj38ks1fq02ds59g0r4jlg9ll7z4qc048mgi35alw5"))))
393 (build-system vim-build-system)
394 (arguments
395 (list #:plugin-name "neosnippet"))
396 (synopsis "Snippet support for Vim")
397 (description
398 "@code{neosnippet}, is a plugin for Vim which adds snippet support to Vim.
399Snippets are small templates for commonly used code that you can fill in on
400the fly. To use snippets can increase your productivity in Vim a lot.
401The functionality of this plug-in is quite similar to plug-ins like
402@code{snipMate.vim} or @code{snippetsEmu.vim}. But since you can choose
403snippets with the neocomplcache / neocomplete interface, you might have less
404trouble using them, because you do not have to remember each snippet name.")
405 (home-page "https://github.com/Shougo/neosnippet.vim/")
406 (license license:expat))))
407
408(define-public vim-scheme
409 (let ((commit "e22fc8e199ef52f2efacd08e71c3add90d83b375")
410 (revision "3"))
411 (package
412 (name "vim-scheme")
413 (version (git-version "0.0.0" revision commit))
414 (source
415 (origin
416 (method git-fetch)
417 (uri (git-reference
418 (url "https://git.foldling.org/vim-scheme.git")
419 (commit commit)))
420 (file-name (git-file-name name version))
421 (sha256
422 (base32
423 "04h946vr4f8wxap3wzqs69y2v8n50g2zbk22jsg2kxr4c01z5cbw"))))
424 (build-system vim-build-system)
425 (arguments
426 (list #:plugin-name "vim-scheme"))
427 (synopsis "Scheme syntax for Vim")
428 (description
429 "@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).")
430 (home-page "https://foldling.org/git/vim-scheme.git/")
431 (license license:unlicense))))
432
433(define-public vim-luna
434 (let ((commit "633619953dcf8577168e255230f96b05f28d6371")
435 (revision "1"))
436 (package
437 (name "vim-luna")
438 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
439 (source
440 (origin
441 (method git-fetch)
442 (uri (git-reference
443 (url "https://github.com/notpratheek/vim-luna")
444 (commit commit)))
445 (file-name (string-append name "-" version "-checkout"))
446 (sha256
447 (base32
448 "0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
449 (build-system vim-build-system)
450 (arguments
451 (list #:plugin-name "luna"))
452 (synopsis "Dark color theme for Vim")
453 (description
454 "@code{vim-luna} is a dark color theme for Vim.")
455 (home-page "https://github.com/notpratheek/vim-luna")
456 (license license:expat))))
457
458;; There are no tarball releases.
459(define-public vim-context-filetype
460 (let ((commit "5e85f8cae26806f391aefe2661791a6de53bcea2")
461 (revision "1"))
462 (package
463 (name "vim-context-filetype")
464 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
465 (source
466 (origin
467 (method git-fetch)
468 (uri (git-reference
469 (url "https://github.com/Shougo/context_filetype.vim")
470 (commit commit)))
471 (file-name (string-append name "-" version "-checkout"))
472 (sha256
473 (base32
474 "0alvrfhmd91zkd9h83s8wvgyq4iakcf6rybsyjd369qbgpcqky89"))))
475 (build-system vim-build-system)
476 (arguments
477 (list #:plugin-name "context_filetype"))
478 (synopsis "Context filetype library for Vim")
479 (description
480 "@code{vim-context-filetype} is context filetype library for Vim script.")
481 (home-page "https://github.com/Shougo/context_filetype.vim")
482 (license license:expat)))) ; ??? check again
483
484(define-public vim-coqtail
485 (let ((commit "d77080e17787afe9ad0366d86327658da36febbb")
486 (revision "1"))
487 (package
488 (name "vim-coqtail")
489 (version (git-version "1.7.1" revision commit))
490 (source (origin
491 (method git-fetch)
492 (uri (git-reference
493 (url "https://github.com/whonore/Coqtail")
494 (commit commit)))
495 (file-name (git-file-name name version))
496 (sha256
497 (base32
498 "03qq50mas5dk3aj1rbv1f0x68rfa9b07cacj12sxp76sda9c0prz"))))
499 (build-system vim-build-system)
500 (arguments
501 `(#:plugin-name "coqtail"
502 #:vim ,vim-full ; Plugin needs Python 3.
503 #:phases
504 (modify-phases %standard-phases
505 (add-before 'install 'check
506 (lambda* (#:key inputs native-inputs tests? vim? neovim?
507 #:allow-other-keys)
508 (when tests?
509 (display "Running Python unit tests.\n")
510 (setenv "PYTHONPATH" (string-append (getcwd) "/python"))
511 (invoke "pytest" "-q" "tests/unit")
512
513 (display "Running Python Coq tests.\n")
514 (invoke "pytest" "-q" "tests/coq")
515
516 (display "Running Vim unit tests.\n")
517 (let* ((vim-vader (assoc-ref (or native-inputs inputs)
518 "vim-vader"))
519 (vader-path (string-append
520 vim-vader
521 (if vim?
522 "/share/vim/vimfiles"
523 "/share/nvim/site")
524 "/pack/guix/start/vader"))
525 (command `(,@(if vim? '("vim" "-E") '())
526 ,@(if neovim? '("nvim" "--headless") '())
527 "-Nu" "vimrc"
528 "-c" "Vader! *.vader")))
529 (with-directory-excursion "tests/vim"
530 (when neovim?
531 (setenv "HOME" (getcwd)))
532 (setenv "VADER_PATH" vader-path)
533 (apply invoke command)))
534
535 ;; Remove __pycache__ files generated during testing so that
536 ;; they don't get installed.
537 (delete-file-recursively "python/__pycache__")))))))
538 (native-inputs
539 (list coq-for-coqtail
540 python-pytest
541 vim-vader))
542 (propagated-inputs (list coq coq-ide-server))
543 (synopsis "Interactive Coq proofs in Vim")
544 (description "Coqtail enables interactive Coq proof development in Vim
545similar to CoqIDE or ProofGeneral.")
546 (home-page "https://github.com/whonore/Coqtail")
547 (license license:expat))))
548
549(define-public neovim-coqtail
550 (package
551 (inherit vim-coqtail)
552 (name "neovim-coqtail")
553 (synopsis "Interactive Coq proofs in Neovim")
554 (description "Coqtail enables interactive Coq proof development in Neovim
555similar to CoqIDE or ProofGeneral.")
556 (native-inputs
557 (modify-inputs (package-native-inputs vim-coqtail)
558 (replace "vim-vader" neovim-vader)
559 (append python-minimal python-pynvim)))
560 (propagated-inputs
561 (modify-inputs (package-propagated-inputs vim-coqtail)
562 (append python-pynvim)))))
563
564(define-public vim-fugitive
565 (package
566 (name "vim-fugitive")
567 (version "3.7")
568 (source
569 (origin
570 (method git-fetch)
571 (uri (git-reference
572 (url "https://github.com/tpope/vim-fugitive")
573 (commit (string-append "v" version))))
574 (file-name (git-file-name name version))
575 (sha256
576 (base32 "138290g2aph1jjhaza6biky5qi4ka6435s01bwxivllgb53g3irc"))))
577 (build-system vim-build-system)
578 (arguments
579 (list #:plugin-name "fugitive"))
580 (home-page "https://github.com/tpope/vim-fugitive")
581 (synopsis "Vim plugin to work with Git")
582 (description "Vim-fugitive is a wrapper for Vim that complements the
583command window, where you can stage and review your changes before the next
584commit or run any Git arbitrary command.")
585 (license license:vim))) ; distributed under the same license as vim
586
587(define-public vim-airline
588 (package
589 (name "vim-airline")
590 (version "0.11")
591 (source
592 (origin
593 (method git-fetch)
594 (uri (git-reference
595 (url "https://github.com/vim-airline/vim-airline")
596 (commit (string-append "v" version))))
597 (file-name (git-file-name name version))
598 (sha256
599 (base32
600 "1aksmr73648pvyc75pfdz28k2d4ky52rn7xiwcv7lz87q3vqld7k"))))
601 (build-system vim-build-system)
602 (arguments
603 (list #:plugin-name "airline"))
604 (synopsis "Statusline for Vim")
605 (description
606 "@code{vim-airline} is an extensible statusline for Vim.
607It can be extended and customized with themes, works with unicode fonts
608and powerline symbols, etc.")
609 (home-page "https://github.com/vim-airline/vim-airline")
610 (license license:expat)))
611
612;; There are no tarball releases.
613(define-public vim-airline-themes
614 (let ((commit "e6f233231b232b6027cde6aebeeb18d9138e5324")
615 (revision "2"))
616 (package
617 (name "vim-airline-themes")
618 (version (git-version "0.0.0" revision commit))
619 (source
620 (origin
621 (method git-fetch)
622 (uri (git-reference
623 (url "https://github.com/vim-airline/vim-airline-themes")
624 (commit commit)))
625 (file-name (git-file-name name version))
626 (sha256
627 (base32
628 "1sb7nb7j7bz0pv1c9bgdy0smhr0jk2b1vbdv9yzghg5lrknpsbr6"))))
629 (build-system vim-build-system)
630 (arguments
631 (list #:plugin-name "airline-themes"))
632 (synopsis "Collection of themes for Vim-airline")
633 (description
634 "@code{vim-airline-themes} is a collection of themes for @code{vim-airline}.")
635 (home-page "https://github.com/vim-airline/vim-airline-themes")
636 (license license:expat))))
637
638(define-public vim-syntastic
639 (package
640 (name "vim-syntastic")
641 (version "3.10.0")
642 (source
643 (origin
644 (method git-fetch)
645 (uri (git-reference
646 (url "https://github.com/vim-syntastic/syntastic")
647 (commit version)))
648 (file-name (git-file-name name version))
649 (sha256
650 (base32 "0j91f72jaz1s6aw1hpjiz30vk2ds2aqd9gisk91grsldy6nz6hhz"))))
651 (build-system vim-build-system)
652 (arguments
653 (list #:plugin-name "syntastic"))
654 (synopsis "Syntax checking plugin for Vim")
655 (description
656 "Vim-syntastic is a syntax checking plugin for Vim. It runs files through
657external syntax checkers and displays any resulting errors to the user. This
658can be done on demand, or automatically as files are saved. If syntax errors
659are detected, the user is notified.")
660 (home-page "https://github.com/vim-syntastic/syntastic")
661 (license license:wtfpl2)))
662
663(define-public neovim-syntastic
664 (package
665 (inherit vim-syntastic)
666 (name "neovim-syntastic")
667 (synopsis "Syntax checking plugin for Neovim")
668 (description
669 "Vim-syntastic is a syntax checking plugin for Neovim. It runs files through
670external syntax checkers and displays any resulting errors to the user. This
671can be done on demand, or automatically as files are saved. If syntax errors
672are detected, the user is notified.")))
673
674(define-public vim-solarized
675 (let ((commit "62f656a02f93c5190a8753159e34b385588d5ff3")
676 (revision "1"))
677 (package
678 (name "vim-solarized")
679 (version (git-version "1.0.0beta1" revision commit))
680 (source
681 (origin
682 (method git-fetch)
683 (uri (git-reference
684 (url "https://github.com/altercation/solarized")
685 (commit commit)))
686 (file-name (git-file-name name version))
687 (sha256
688 (base32 "0001mz5v3a8zvi3gzmxhi3yrsb6hs7qf6i497arsngnvj2cwn61d"))))
689 (build-system vim-build-system)
690 (arguments
691 (list
692 #:plugin-name "solarized"
693 #:phases
694 #~(modify-phases %standard-phases
695 (add-after 'unpack 'chdir
696 (lambda _
697 (chdir "vim-colors-solarized"))))))
698 (home-page "https://github.com/altercation/vim-colors-solarized")
699 (synopsis "Solarized color scheme for Vim")
700 (description
701 "This package provides the Solarized theme as a Vim color scheme.
702
703Solarized is a 16-color palette comprising 8 monotones and 8 accent
704colors. It was designed for use with both terminal and GUI applications, and
705has a dark and a light mode.
706
707Based on CIELAB lightness relationships between colors, this theme reduces
708brightness contrast but retains contrasting hues based on colorwheel relations
709for syntax highlighting readability.
710
711It keeps the same selective contrast relationships and overall feel when
712switching between the light and dark background modes.")
713 (license license:expat))))
714
715(define-public vim-rainbow
716 (package
717 (name "vim-rainbow")
718 (version "5c8094b56568aeaeda9cc09b3ebc6d2ed95e1ad8")
719 (source
720 (origin
721 (method git-fetch)
722 (uri (git-reference
723 (url "https://github.com/mason1920/rainbow")
724 (commit version)))
725 (file-name (git-file-name name version))
726 (sha256
727 (base32 "1jya8wwlkmgs89hndrq6gsaskhk9g0fh62wdib8v9vz2x5g3738z"))))
728 (build-system vim-build-system)
729 (arguments
730 (list
731 #:plugin-name "rainbow"
732 #:mode "opt"
733 #:phases
734 #~(modify-phases %standard-phases
735 (add-after 'unpack 'chdir
736 (lambda _
737 (chdir "opt/rainbow"))))))
738 (home-page "https://github.com/mason1920/rainbow")
739 (synopsis "Rainbow Parentheses Improved")
740 (description
741 "As everyone knows, the most complex codes were composed of a mass of different
742kinds of parentheses (typically: lisp). This plugin will help you read these
743codes by showing different levels of parentheses in different colors.")
744 (license license:asl2.0)))
745
746(define-public editorconfig-vim
747 (package
748 (name "editorconfig-vim")
749 (version "1.1.1")
750 (source
751 (origin
752 (method git-fetch)
753 (uri (git-reference
754 (url "https://github.com/editorconfig/editorconfig-vim")
755 (commit (string-append "v" version))))
756 (file-name (git-file-name name version))
757 (sha256
758 (base32
759 "0mp80bi2m56bb93szw87vy6q5s85yk9g91sl4pr51316rgdv5kkv"))))
760 (build-system vim-build-system)
761 (arguments
762 (list
763 #:plugin-name "editorconfig"
764 #:vim? #t))
765 (home-page "https://editorconfig.org/")
766 (synopsis "EditorConfig plugin for Vim")
767 (description "EditorConfig makes it easy to maintain the correct coding
768style when switching between different text editors and between different
769projects. The EditorConfig project maintains a file format and plugins for
770various text editors which allow this file format to be read and used by those
771editors.")
772 (license license:bsd-2)))
773
774(define-public neovim-packer
775 (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
776 (revision "0"))
777 (package
778 (name "neovim-packer")
779 (version (git-version "0.0.0" revision commit))
780 (source (origin
781 (method git-fetch)
782 (uri (git-reference
783 (url "https://github.com/wbthomason/packer.nvim")
784 (commit commit)))
785 (file-name (git-file-name name version))
786 (sha256
787 (base32
788 "1xn08z3a21mgfvp5i1nv57jnldwxwnl5nkryiff3zc99b1mizigp"))))
789 (build-system vim-build-system)
790 (arguments
791 (list #:plugin-name "packer.nvim"))
792 (home-page "https://github.com/wbthomason/packer.nvim")
793 (synopsis "Plugin manager for Neovim")
794 (description
795 "This package provides a plugin manager for Neovim, inspired by Emacs's
796@code{use-package}. It's written in Lua, supports Luarocks dependencies, and
797is based on Vim's builtin plugin support.")
798 (license license:expat))))
799
800(define-public neovim
801 (package
802 (name "neovim")
803 (version "0.11.1")
804 (source (origin
805 (method git-fetch)
806 (uri (git-reference
807 (url "https://github.com/neovim/neovim")
808 (commit (string-append "v" version))))
809 (file-name (git-file-name name version))
810 (sha256
811 (base32
812 "0arypdiycmss5g9wav21hfdc384v1ly82jnsc32zincl2y3f628q"))))
813 (build-system cmake-build-system)
814 (arguments
815 (list #:tests? #f
816 #:modules
817 '((srfi srfi-26) (guix build cmake-build-system)
818 (guix build utils))
819 #:configure-flags
820 #~(list #$@(if (member (if (%current-target-system)
821 (gnu-triplet->nix-system (%current-target-system))
822 (%current-system))
823 (package-supported-systems luajit))
824 '()
825 '("-DPREFER_LUA:BOOL=YES")))
826 #:phases
827 #~(modify-phases %standard-phases
828 (add-after 'unpack 'set-lua-paths
829 (lambda* _
830 (let* ((lua-version "5.1")
831 (lua-cpath-spec (lambda (prefix)
832 (let ((path (string-append
833 prefix
834 "/lib/lua/"
835 lua-version)))
836 (string-append
837 path
838 "/?.so;"
839 path
840 "/?/?.so"))))
841 (lua-path-spec (lambda (prefix)
842 (let ((path (string-append prefix
843 "/share/lua/"
844 lua-version)))
845 (string-append path "/?.lua;"
846 path "/?/?.lua"))))
847 (lua-inputs (list (or #$(this-package-input "lua")
848 #$(this-package-input "luajit"))
849 #$lua5.1-luv
850 #$lua5.1-lpeg
851 #$lua5.1-bitop
852 #$lua5.1-libmpack)))
853 (setenv "LUA_PATH"
854 (string-join (map lua-path-spec lua-inputs) ";"))
855 (setenv "LUA_CPATH"
856 (string-join (map lua-cpath-spec lua-inputs) ";"))
857 #t)))
858 (add-after 'unpack 'prevent-embedding-gcc-store-path
859 (lambda _
860 ;; nvim remembers its build options, including the compiler with
861 ;; its complete path. This adds gcc to the closure of nvim, which
862 ;; doubles its size. We remove the reference here.
863 (substitute* "cmake.config/versiondef.h.in"
864 (("\\$\\{CMAKE_C_COMPILER\\}") "/gnu/store/.../bin/gcc"))
865 #t))
866 (add-after 'install 'install-guix-nvim.vim
867 (lambda* (#:key outputs #:allow-other-keys)
868 (let ((nvimdir (string-append (assoc-ref outputs "out")
869 "/share/nvim")))
870 (mkdir-p nvimdir)
871 (copy-file
872 #$(local-file (search-auxiliary-file "guix-nvim.vim"))
873 (string-append nvimdir "/sysinit.vim"))))))))
874 (inputs (list libuv-for-luv
875 msgpack-c
876 libtermkey
877 libvterm
878 unibilium
879 utf8proc
880 jemalloc
881 (if (member (if (%current-target-system)
882 (gnu-triplet->nix-system (%current-target-system))
883 (%current-system))
884 (package-supported-systems luajit))
885 luajit
886 lua-5.1)
887 lua5.1-luv
888 lua5.1-lpeg
889 lua5.1-bitop
890 lua5.1-libmpack
891 tree-sitter))
892 (native-inputs (list pkg-config gettext-minimal gperf))
893 (home-page "https://neovim.io")
894 (synopsis "Fork of vim focused on extensibility and agility")
895 (description
896 "Neovim is a project that seeks to aggressively
897refactor Vim in order to:
898
899@itemize
900@item Simplify maintenance and encourage contributions
901@item Split the work between multiple developers
902@item Enable advanced external UIs without modifications to the core
903@item Improve extensibility with a new plugin architecture
904@end itemize
905")
906 ;; Neovim is licensed under the terms of the Apache 2.0 license,
907 ;; except for parts that were contributed under the Vim license.
908 (license (list license:asl2.0 license:vim))))
909
910(define-public eovim
911 (package
912 (name "eovim")
913 (version "0.2.0")
914 (source
915 (origin
916 (method git-fetch)
917 (uri (git-reference
918 (url "https://github.com/jeanguyomarch/eovim/")
919 (commit (string-append "v" version))))
920 (file-name (git-file-name name version))
921 (sha256
922 (base32 "06b7crmz3wvvq15ncl0jk20s8j1pmna2jin0k5y5n5qxpafbgp3k"))))
923 (build-system cmake-build-system)
924 (arguments
925 '(#:tests? #false ;no tests
926 #:phases
927 (modify-phases %standard-phases
928 (add-after 'unpack 'help-cmake-find-msgpack-c
929 (lambda _
930 ;; Patch the build system so that it can find the modern
931 ;; 'msgpack-c' named pkg-config file (see:
932 ;; https://github.com/jeanguyomarch/eovim/issues/73).
933 (substitute* "cmake/Modules/FindMsgPack.cmake"
934 (("MSGPACK QUIET msgpack")
935 "MSGPACK QUIET msgpack-c msgpack"))))
936 (add-after 'configure 'reference-nvim
937 (lambda* (#:key inputs #:allow-other-keys)
938 (let ((nvim (search-input-file inputs "/bin/nvim")))
939 ;; This substitution should change one line, and replaces the default
940 ;; value in the struct of options with an absolute store reference.
941 (substitute* "../source/src/main.c"
942 (("(^[[:blank:]]+\\.nvim = \")nvim" _ start)
943 (string-append start nvim))))))
944 (add-before 'build 'set-home
945 (lambda _ (setenv "HOME" "/tmp"))))))
946 (native-inputs (list pkg-config))
947 (inputs (list efl msgpack-c neovim))
948 (home-page "https://github.com/jeanguyomarch/eovim/")
949 (synopsis "EFL GUI for Neovim")
950 (description "Graphical Neovim interface based on the @acronym{EFL, Enlightenment
951Foundation Libraries} toolkit. Its features include customizable appearance
952and support for fonts with ligatures.")
953 (license license:expat)))
954
955(define-public vifm
956 (package
957 (name "vifm")
958 (version "0.14.3")
959 (source
960 (origin
961 (method url-fetch)
962 (uri (list
963 (string-append "https://github.com/vifm/vifm/releases/download/v"
964 version "/vifm-" version ".tar.bz2")
965 (string-append "https://sourceforge.net/projects/vifm/files/vifm/"
966 "vifm-" version ".tar.bz2")))
967 (sha256
968 (base32
969 "03j4ygdrywr0kdjp755y3sj9nlay6xb74zwlkyga19fn108vxa8n"))))
970 (build-system gnu-build-system)
971 (arguments
972 '(#:configure-flags '("--disable-build-timestamp")
973 #:phases
974 (modify-phases %standard-phases
975 (add-after 'patch-source-shebangs 'patch-test-shebangs
976 (lambda _
977 (substitute* (cons* "data/vim/plugin/vifm.vim"
978 "src/cfg/config.c"
979 (find-files "tests" "\\.c$"))
980 (("/bin/sh") (which "sh"))
981 (("/bin/bash") (which "bash")))
982 ;; This test segfaults
983 (substitute* "tests/Makefile"
984 ((" menus misc") ""))))
985 (add-after 'install 'install-vim-plugin-files
986 (lambda* (#:key outputs #:allow-other-keys)
987 (let* ((out (assoc-ref outputs "out"))
988 (vifm (string-append out "/share/vifm"))
989 (vimfiles (string-append
990 out "/share/vim/vimfiles/pack/guix/start/vifm")))
991 (copy-recursively (string-append vifm "/colors")
992 (string-append vimfiles "/colors"))
993 (copy-recursively (string-append vifm "/vim")
994 vimfiles)
995 (delete-file-recursively (string-append vifm "/vim"))))))))
996 (native-inputs
997 (list groff)) ; for the documentation
998 (inputs
999 (list libx11 ncurses perl))
1000 (home-page "https://vifm.info/")
1001 (synopsis "Flexible vi-like file manager using ncurses")
1002 (description "Vifm is a file manager providing a @command{vi}-like usage
1003experience. It has similar keybindings and modes (e.g. normal, command line,
1004visual). The interface uses ncurses, thus vifm can be used in text-only
1005environments. It supports a wide range of features, some of which are known
1006from the @command{vi}-editor:
1007@enumerate
1008@item utf8 support
1009@item user mappings (almost like in @code{vi})
1010@item ranges in command
1011@item line commands
1012@item user defined commands (with support for ranges)
1013@item registers
1014@item operation undoing/redoing
1015@item fuse file systems support
1016@item trash
1017@item multiple files renaming
1018@item support of filename modifiers
1019@item colorschemes support
1020@item file name color according to file type
1021@item path specific colorscheme customization
1022@item bookmarks
1023@item operation backgrounding
1024@item customizable file viewers
1025@item handy @code{less}-like preview mode
1026@item filtering out and searching for files using regular expressions
1027@item one or two panes view
1028@end enumerate
1029With the package comes a plugin to use vifm as a vim file selector.")
1030 (license license:gpl2+)))
1031
1032(define-public python-pynvim
1033 (package
1034 (name "python-pynvim")
1035 (version "0.4.2")
1036 (source (origin
1037 (method url-fetch)
1038 (uri (pypi-uri "pynvim" version))
1039 (sha256
1040 (base32
1041 "13qgwkqbx012j5spis1aw8rb120rw0zphgjy1j58irax8r6j1ikb"))))
1042 (build-system python-build-system)
1043 (propagated-inputs
1044 (list python-greenlet python-msgpack))
1045 (arguments
1046 `(#:tests? #f))
1047 (home-page "https://github.com/neovim/pynvim")
1048 (synopsis "Python client and plugin host for neovim")
1049 (description "Pynvim implements support for python plugins in neovim. It
1050also works as a library for connecting to and scripting neovim processes
1051through its msgpack-rpc API.")
1052 (license license:asl2.0)))
1053
1054(define-public python-neovim-remote
1055 (package
1056 (name "python-neovim-remote")
1057 (version "2.5.1")
1058 (source (origin
1059 (method url-fetch)
1060 (uri (pypi-uri "neovim-remote" version))
1061 (sha256
1062 (base32
1063 "00kxlb3f1k7iaxzpsr07scavmnyg8c1jmicmr13mfk2lcdac6g2b"))))
1064 (build-system pyproject-build-system)
1065 (native-inputs
1066 (list python-wheel))
1067 (propagated-inputs
1068 (list python-psutil
1069 python-pynvim
1070 python-setuptools))
1071 (home-page "https://github.com/mhinz/neovim-remote")
1072 (synopsis "Control nvim processes using `nvr` commandline tool")
1073 (description "This package provide a `nvr` command, which can open File in
1074remote nvim. Also allow opening files from within :terminal without starting
1075a nested nvim process.")
1076 (license license:expat)))
1077
1078(define-public vim-guix-vim
1079 (package
1080 (name "vim-guix-vim")
1081 (version "0.4.1")
1082 (source (origin
1083 (method git-fetch)
1084 (uri (git-reference
1085 (url "https://git.sr.ht/~efraim/guix.vim")
1086 (commit version)))
1087 (file-name (git-file-name name version))
1088 (sha256
1089 (base32
1090 "0ii2v94wdh8wn1qrgbn91cxzk3gi09awgxydf2bb6z7b302absh8"))))
1091 (build-system vim-build-system)
1092 (arguments
1093 (list #:plugin-name "guix"))
1094 (home-page "https://git.sr.ht/~efraim/guix.vim")
1095 (synopsis "Guix integration in Vim")
1096 (description "This package provides support for GNU Guix in Vim.")
1097 (license license:vim)))
1098
1099(define-public vim-asyncrun
1100 (package
1101 (name "vim-asyncrun")
1102 (version "2.12.4")
1103 (source (origin
1104 (method git-fetch)
1105 (uri (git-reference
1106 (url "https://github.com/skywind3000/asyncrun.vim")
1107 (commit version)))
1108 (file-name (git-file-name name version))
1109 (sha256
1110 (base32
1111 "0hyz3bgbwmg85534ab71w2sr6fj94mz498ayn9bvhn4g7y6c951n"))))
1112 (build-system vim-build-system)
1113 (arguments
1114 (list
1115 #:plugin-name "asyncrun"))
1116 (home-page "https://github.com/skywind3000/asyncrun.vim")
1117 (synopsis "Run Async Shell Commands in Vim")
1118 (description "This plugin takes the advantage of new APIs in Vim 8 (and
1119NeoVim) to enable you to run shell commands in background and read output in the
1120quickfix window in realtime.")
1121 (license license:expat)))
1122
1123(define-public neovim-asyncrun
1124 (package
1125 (inherit vim-asyncrun)
1126 (name "neovim-asyncrun")))
1127
1128(define-public vim-dispatch
1129 ;; Last release was in June 2019.
1130 (let ((commit "4c695bc052cad2ae6b980aebbe48d046466e27ae")
1131 (revision "1"))
1132 (package
1133 (name "vim-dispatch")
1134 (version (git-version "1.8" revision commit))
1135 (source
1136 (origin
1137 (method git-fetch)
1138 (uri (git-reference
1139 (url "https://github.com/tpope/vim-dispatch")
1140 (commit commit)))
1141 (file-name (git-file-name name version))
1142 (sha256
1143 (base32
1144 "13c63n7gylny2s84k05cpl4cjn070d3qk6yagxny23yanz29hc15"))))
1145 (build-system vim-build-system)
1146 (arguments
1147 (list #:plugin-name "dispatch"))
1148 (home-page "https://github.com/tpope/vim-dispatch")
1149 (synopsis "Asynchronous build and test dispatcher")
1150 (description "Leverage the power of Vim's compiler plugins without being
1151bound by synchronicity. Kick off builds and test suites using one of several
1152asynchronous adapters (including tmux, screen, and a headless mode), and when
1153the job completes, errors will be loaded and parsed automatically.")
1154 (license license:vim))))
1155
1156(define-public neovim-dispatch
1157 (package
1158 (inherit vim-dispatch)
1159 (name "neovim-dispatch")))
1160
1161(define-public vim-gemini-vim
1162 ;; No releases have been tagged.
1163 (let ((commit "f300c54174fc0db8fb68f1bc04307b58612e9630")
1164 (revision "1"))
1165 (package
1166 (name "vim-gemini-vim")
1167 (version (git-version "0.0.0" revision commit))
1168 (source
1169 (origin
1170 (method git-fetch)
1171 (uri (git-reference
1172 (url "https://git.sr.ht/~torresjrjr/gemini.vim")
1173 (commit commit)))
1174 (file-name (git-file-name name version))
1175 (sha256
1176 (base32 "05ffhhfahjqwxyrqmsinsahrs15wknzl2qbj8mznyv319mn2civ2"))))
1177 (build-system vim-build-system)
1178 (arguments
1179 (list #:plugin-name "gemini"))
1180 (home-page "https://git.sr.ht/~torresjrjr/gemini.vim")
1181 (synopsis "Vim syntax highlighting plugin for Gemini")
1182 (description "This Vim plugin provides a Vim syntax highlighting plugin
1183for Gemini Text, the text/gemini media type, as defined in the Gemini protocol
1184specification.")
1185 (license license:gpl3))))
1186
1187(define-public vim-eunuch
1188 (let ((commit "33e875b31c8b811a0a47908884a5e2339106bbe8")
1189 (revision "1"))
1190 (package
1191 (name "vim-eunuch")
1192 (version (git-version "1.2" revision commit))
1193 (source
1194 (origin
1195 (method git-fetch)
1196 (uri (git-reference
1197 (url "https://github.com/tpope/vim-eunuch")
1198 (commit commit)))
1199 (file-name (git-file-name name version))
1200 (sha256
1201 (base32
1202 "1xadb22kd40swmww0qxmmkcpcq6viy8l167pjck5q32hfngll5d3"))))
1203 (build-system vim-build-system)
1204 (arguments
1205 (list #:plugin-name "eunuch"))
1206 (home-page "https://github.com/tpope/vim-eunuch")
1207 (synopsis "Vim sugar for the UNIX shell commands")
1208 (description "Vim sugar for the UNIX shell commands that need it the most.
1209This package includes commands such as @code{SudoWrite} and @code{SudoEdit} and
1210help working on Vim buffers and the files they reference with one command.")
1211 (license license:vim))))
1212
1213(define-public vim-slime
1214 ;; No tagged releases.
1215 (let ((commit "a522fed677e50175f52efc5848cc35209af33216")
1216 (revision "1"))
1217 (package
1218 (name "vim-slime")
1219 (version (git-version "0.0.0" revision commit))
1220 (source
1221 (origin
1222 (method git-fetch)
1223 (uri (git-reference
1224 (url "https://github.com/jpalardy/vim-slime")
1225 (commit commit)))
1226 (file-name (git-file-name name version))
1227 (sha256
1228 (base32 "0k4b629jn6xlxyjxdl3cgm06v9dmx967rqnslv5m82c9kscwpyh4"))))
1229 (build-system vim-build-system)
1230 (arguments
1231 (list #:plugin-name "vim-slime"))
1232 (home-page "https://technotales.wordpress.com/2007/10/03/like-slime-for-vim/")
1233 (synopsis "Vim plugin to give you some slime")
1234 (description "SLIME is an Emacs plugin to turn Emacs into a Lisp IDE. You
1235can type text in a file, send it to a live REPL, and avoid having to reload all
1236your code every time you make a change. @code{Vim-slime} is an attempt at
1237getting some of these features into Vim. It works with any REPL and isn't tied
1238to Lisp.")
1239 (license license:expat))))
1240
1241(define-public vim-vlime
1242 ;; The last tag is very outdated.
1243 (let ((commit "c1ac16c1a50bec4c30da87cd4ce2af12e26fb022")
1244 (revision "1"))
1245 (package
1246 (name "vim-vlime")
1247 (version (git-version "0.4.0" revision commit))
1248 (source
1249 (origin
1250 (method git-fetch)
1251 (uri (git-reference
1252 (url "https://github.com/vlime/vlime")
1253 (commit commit)))
1254 (sha256
1255 (base32 "1dfc1wyjsgkckrklkzvk4whaz3ahaka59rvm7rc724mabmk83pmp"))
1256 (file-name (git-file-name name version))))
1257 (build-system vim-build-system)
1258 (arguments
1259 '(#:plugin-name "vlime"
1260 #:phases
1261 (modify-phases %standard-phases
1262 (add-after 'install 'symlink-files
1263 (lambda* (#:key outputs plugin-name mode #:allow-other-keys)
1264 (with-directory-excursion
1265 (string-append (assoc-ref outputs "out")
1266 "/share/vim/vimfiles/pack/guix/" mode "/" plugin-name)
1267 (for-each (lambda (dir)
1268 (symlink (string-append "./vim/" dir) dir))
1269 (list "after" "autoload" "doc" "ftplugin" "syntax")))))
1270 (add-after 'symlink-files 'install-lisp-files
1271 (lambda* (#:key outputs #:allow-other-keys)
1272 (let* ((out (assoc-ref outputs "out"))
1273 (common-lisp (string-append out "/share/common-lisp")))
1274 ;; Create a symbolic link to the .asd file so that
1275 ;; (asdf:load-system "vlime") finds the system.
1276 (copy-recursively "lisp" (string-append common-lisp "/source/vlime"))
1277 (mkdir-p (string-append common-lisp "/systems/"))
1278 (symlink (string-append common-lisp "/source/vlime/vlime.asd")
1279 (string-append common-lisp "/systems/vlime.asd"))))))))
1280 (propagated-inputs
1281 (list cl-alexandria
1282 cl-slime-swank
1283 cl-usocket
1284 cl-vom
1285 cl-yason))
1286 (home-page "https://github.com/vlime/vlime")
1287 (synopsis "Common Lisp dev environment for Vim (and Neovim)")
1288 (description "Vlime is similar to SLIME for Emacs and SLIMV for Vim. It
1289provides REPL integration, as well as omni-completions, cross reference
1290utilities, a nice inspector, debugger support, and many other great facilities
1291to aid you in your glorious Common Lisp hacking quest.")
1292 (license license:expat))))
1293
1294(define-public vim-paredit
1295 ;; The last tagged version is from August 2013.
1296 (let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec")
1297 (revision "1"))
1298 (package
1299 (name "vim-paredit")
1300 (version (git-version "0.9.11" revision commit))
1301 (source
1302 (origin
1303 (method git-fetch)
1304 (uri (git-reference
1305 (url "https://github.com/kovisoft/paredit")
1306 (commit commit)))
1307 (file-name (git-file-name name version))
1308 (sha256
1309 (base32 "07d5s20r0ssd7rir45vy0fqlci44gha1a81rcilgar227f3nw328"))))
1310 (build-system vim-build-system)
1311 (arguments
1312 (list #:plugin-name "paredit"))
1313 (home-page "https://github.com/kovisoft/paredit")
1314 (synopsis "Vim plugin for structured editing of Lisp S-expressions")
1315 (description
1316 "Paredit performs structured editing of Lisp S-expressions in Vim.
1317@code{Paredit.vim} is similar to @code{paredit.el} for Emacs.")
1318 ;; License listed in plugin/paredit.vim.
1319 (license license:public-domain))))
1320
1321(define-public vim-surround
1322 (package
1323 (name "vim-surround")
1324 (version "2.2")
1325 (source
1326 (origin
1327 (method git-fetch)
1328 (uri (git-reference
1329 (url "https://github.com/tpope/vim-surround")
1330 (commit (string-append "v" version))))
1331 (file-name (git-file-name name version))
1332 (sha256
1333 (base32 "1b0bd5m5lv1p4d299mrwjfs2gk0zqwyaqdaid9hs9yqlxnr8s5nf"))))
1334 (build-system vim-build-system)
1335 (arguments
1336 (list #:plugin-name "surround"))
1337 (home-page "https://github.com/tpope/vim-surround")
1338 (synopsis "Vim plugin for easy quoting and parenthesizing")
1339 (description
1340 "Surround.vim is all about \"surroundings\": parentheses, brackets,
1341quotes, XML tags, and more. The plugin provides mappings to easily delete,
1342change and add such surroundings in pairs.")
1343 (license license:vim)))
1344
1345(define-public vim-gnupg
1346 (package
1347 (name "vim-gnupg")
1348 (version "2.7.1")
1349 (source
1350 (origin
1351 (method url-fetch)
1352 (uri (string-append "https://github.com/jamessan/vim-gnupg/releases/"
1353 "download/v" version
1354 "/vim-gnupg-v" version ".tar.gz"))
1355 (sha256
1356 (base32 "02w8lgyyh7wgxysvmmcf9ja5c06vrbyh3alzvv97x8cfhrp0skn7"))))
1357 (build-system vim-build-system)
1358 (arguments
1359 (list #:plugin-name "vim-gnupg"))
1360 (home-page "https://www.vim.org/scripts/script.php?script_id=3645")
1361 (synopsis "Vim plugin for transparent editing of gpg encrypted files")
1362 (description
1363 "This script implements transparent editing of gpg encrypted files. The
1364filename must have a @code{.gpg}, @code{.pgp} or @code{.asc} suffix. When
1365opening such a file the content is decrypted, and the content will be encrypted
1366to all recipients before it is written. This script turns off viminfo,
1367swapfile, and undofile when editing encrypted files to increase security.")
1368 (properties
1369 '((release-monitoring-url . "https://github.com/jamessan/vim-gnupg/releases")))
1370 (license license:gpl2+)))
1371
1372(define-public vim-ctrlp
1373 (package
1374 (name "vim-ctrlp")
1375 (version "1.81")
1376 (source
1377 (origin
1378 (method git-fetch)
1379 (uri (git-reference
1380 (url "https://github.com/ctrlpvim/ctrlp.vim")
1381 (commit version)))
1382 (file-name (git-file-name name version))
1383 (sha256
1384 (base32 "0n68hg59h4rjn0ziqbsh5pr03l3kr98zk54659ny6vq107af1w96"))))
1385 (build-system vim-build-system)
1386 (arguments
1387 (list #:plugin-name "ctrlp.vim"))
1388 (home-page "https://ctrlpvim.github.io/ctrlp.vim/")
1389 (synopsis "Fuzzy file, buffer, mru, tag, etc. finder for Vim")
1390 (description
1391 "CtrlP features:
1392@itemize
1393@item Written in pure Vimscript for MacVim, gVim and Vim 7.0+.
1394@item Full support for Vim's regexp as search patterns.
1395@item Built-in @acronym{Most Recently Used, MRU} files monitoring and search.
1396@item Built-in project's root finder.
1397@item Open multiple files at once.
1398@item Create new files and directories.
1399@item Execute Ex commands on an opening file (jump to a line, to a string or do
1400anything).
1401@item Optional cross-session caching and history allow for fast initialization.
1402@item Mappings and usage conform to Vim's conventions.
1403@end itemize")
1404 (license license:vim)))
1405
1406(define-public vim-mucomplete
1407 (package
1408 (name "vim-mucomplete")
1409 (version "1.5.0")
1410 (source
1411 (origin
1412 (method git-fetch)
1413 (uri (git-reference
1414 (url "https://github.com/lifepillar/vim-mucomplete")
1415 (commit (string-append "v" version))))
1416 (file-name (git-file-name name version))
1417 (sha256
1418 (base32 "054g80n09mmxxlh8xaic29bn8bgn3clvv732rymljdyvbj1mlhwd"))))
1419 (build-system vim-build-system)
1420 (arguments
1421 (list #:plugin-name "MUcomplete"))
1422 (home-page "https://github.com/lifepillar/vim-mucomplete")
1423 (synopsis "MUcomplete is a minimalist autocompletion plugin for Vim")
1424 (description
1425 "MUcomplete is an implementation of chained (fallback) completion,
1426whereby several completion methods are attempted one after another until a
1427result is returned.")
1428 (license license:expat)))
1429
1430(define-public vim-gitgutter
1431 (let ((commit "256702dd1432894b3607d3de6cd660863b331818")
1432 (revision "1"))
1433 (package
1434 (name "vim-gitgutter")
1435 (version (git-version "0.0.0" revision commit))
1436 (source
1437 (origin
1438 (method git-fetch)
1439 (uri (git-reference
1440 (url "https://github.com/airblade/vim-gitgutter")
1441 (commit commit)))
1442 (file-name (git-file-name name version))
1443 (sha256
1444 (base32 "0zpa7cs59a8sq0k3frlf9flpf30jcn239yrpmv40r7nqvxzglbpl"))))
1445 (build-system vim-build-system)
1446 (arguments
1447 (list #:plugin-name "gitgutter"))
1448 (synopsis "Vim plugin which shows a git diff in the sign column")
1449 (description
1450 "A Vim plugin which shows a git diff in the sign column. It shows which
1451lines have been added, modified, or removed. You can also preview, stage, and
1452undo individual hunks; and stage partial hunks. The plugin also provides a hunk
1453text object. The signs are always up to date and the plugin never saves your
1454buffer.")
1455 (home-page "https://github.com/airblade/vim-gitgutter")
1456 (license license:expat))))
1457
1458(define-public vim-characterize
1459 (package
1460 (name "vim-characterize")
1461 (version "1.1")
1462 (source
1463 (origin
1464 (method git-fetch)
1465 (uri (git-reference
1466 (url "https://github.com/tpope/vim-characterize")
1467 (commit (string-append "v" version))))
1468 (file-name (git-file-name name version))
1469 (sha256
1470 (base32 "0ppsbsd696ih40d9f76mdl9sd9y7p2pvm65qmvq4b2zhkv4xbpxz"))))
1471 (build-system vim-build-system)
1472 (arguments
1473 (list #:plugin-name "characterize"))
1474 (home-page "https://github.com/tpope/vim-characterize")
1475 (synopsis "Vim plugin for showing Unicode character metadata")
1476 (description
1477 "In Vim, pressing @code{ga} on a character reveals its representation in
1478decimal, octal, and hex. Characterize.vim modernizes this with the following
1479additions:
1480@itemize
1481@item Unicode character names: @code{U+00A9 COPYRIGHT SYMBOL}
1482@item Vim digraphs (type after @code{<C-K>} to insert the character):
1483@code{Co}, @code{cO}
1484@item Emoji codes: @code{:copyright:}
1485@item HTML entities: @code{&copy;}
1486@end itemize")
1487 (license license:vim)))
1488
1489(define-public vim-tagbar
1490 (package
1491 (name "vim-tagbar")
1492 (version "3.0.0")
1493 (source
1494 (origin
1495 (method git-fetch)
1496 (uri (git-reference
1497 (url "https://github.com/preservim/tagbar")
1498 (commit (string-append "v" version))))
1499 (file-name (git-file-name name version))
1500 (sha256
1501 (base32 "1fqfs8msmr6d4kpvxqp14sdjvp5fj52q5w5kz71myzcd4kqzmirp"))))
1502 (build-system vim-build-system)
1503 (arguments
1504 '(#:plugin-name "tagbar"
1505 #:phases
1506 (modify-phases %standard-phases
1507 (add-after 'unpack 'link-universal-ctags
1508 (lambda* (#:key inputs #:allow-other-keys)
1509 (let ((ctags (assoc-ref inputs "universal-ctags")))
1510 (substitute* "autoload/tagbar.vim"
1511 (("(.*)universal-ctags']" all leader)
1512 (string-append all "\n"
1513 leader ctags "/bin/ctags']")))))))))
1514 (inputs
1515 (list universal-ctags))
1516 (home-page "https://github.com/preservim/tagbar")
1517 (synopsis "Vim plugin that displays tags in a window, ordered by scope")
1518 (description
1519 "Tagbar is a Vim plugin that provides an easy way to browse the tags of
1520the current file and get an overview of its structure. It does this by creating
1521a sidebar that displays the ctags-generated tags of the current file, ordered
1522by their scope. This means that for example methods in C++ are displayed under
1523the class they are defined in.")
1524 (license license:vim)))
1525
1526(define-public vim-nerdtree
1527 (package
1528 (name "vim-nerdtree")
1529 (version "6.10.16")
1530 (source
1531 (origin
1532 (method git-fetch)
1533 (uri (git-reference
1534 (url "https://github.com/preservim/nerdtree")
1535 (commit version)))
1536 (file-name (git-file-name name version))
1537 (sha256
1538 (base32 "1si8qla86ng8cffbmfrk9gss0i3912yw0f1ph4bsiq0kk837lccp"))))
1539 (build-system vim-build-system)
1540 (arguments
1541 (list #:plugin-name "nerdtree"))
1542 (home-page "https://github.com/preservim/nerdtree")
1543 (synopsis "Tree explorer plugin for Vim")
1544 (description
1545 "The NERDTree is a file system explorer for the Vim editor. Using this
1546plugin, users can visually browse complex directory hierarchies, quickly open
1547files for reading or editing, and perform basic file system operations.")
1548 (license license:wtfpl2)))
1549
1550(define-public vim-nerdcommenter
1551 (package
1552 (name "vim-nerdcommenter")
1553 (version "2.6.0")
1554 (source
1555 (origin
1556 (method git-fetch)
1557 (uri (git-reference
1558 (url "https://github.com/preservim/nerdcommenter")
1559 (commit version)))
1560 (file-name (git-file-name name version))
1561 (sha256
1562 (base32 "1ka2rqn7rby55aps3iblh1dcqxm7m7qx72mpkz6y2aaj8mkj0zyd"))))
1563 (build-system vim-build-system)
1564 (arguments
1565 (list #:plugin-name "nerdcommenter"))
1566 (home-page "https://github.com/preservim/nerdcommenter")
1567 (synopsis "Vim plugin for easy commenting of code")
1568 (description
1569 "NERD commenter is a Vim plugin that provides many different commenting
1570operations and styles which are invoked via key mappings and a menu. These
1571operations are available for most filetypes.")
1572 (license license:cc0)))
1573
1574(define-public vim-vader
1575 (let ((revision "1")
1576 (commit "429b669e6158be3a9fc110799607c232e6ed8e29"))
1577 (package
1578 (name "vim-vader")
1579 (version (git-version "0.4.0" revision commit))
1580 (source (origin
1581 (method git-fetch)
1582 (uri (git-reference
1583 (url "https://github.com/junegunn/vader.vim")
1584 (commit commit)))
1585 (file-name (git-file-name name version))
1586 (sha256
1587 (base32
1588 "0jf4gshr31c1i64f6qykqq17nsasfaljrqz41kzqcxw8fvra8y4c"))))
1589 (build-system vim-build-system)
1590 (arguments
1591 '(#:plugin-name "vader"
1592 #:phases
1593 (modify-phases %standard-phases
1594 (add-before 'install 'check
1595 (lambda* (#:key tests? vim? neovim? #:allow-other-keys)
1596 (when tests?
1597 ;; FIXME: suite1.vader, suite2.vader and
1598 ;; highlight-after-comment.vader fail with unknown reasons,
1599 ;; lang-if.vader requires Python and Ruby.
1600 (substitute* "test/vader.vader"
1601 (("Include.*feature/suite1.vader.*$") "")
1602 (("Include.*feature/suite2.vader.*$") "")
1603 (("Include.*feature/lang-if.vader.*$") "")
1604 (("Include.*regression/highlight-after-comment.vader.*$") ""))
1605
1606 (display "Running Vim tests\n")
1607 (with-directory-excursion "test"
1608 (when vim?
1609 (setenv "VADER_TEST_VIM" "vim -E"))
1610 (when neovim?
1611 (setenv "VADER_TEST_VIM" "nvim --headless"))
1612 (invoke "bash" "./run-tests.sh"))))))))
1613 (home-page "https://github.com/junegunn/vader.vim")
1614 (synopsis "Test framework for Vimscript")
1615 (description "Vader is a test framework for Vimscript designed to
1616simplify the process of writing and running unit tests. Vader.vim provides an
1617intuitive test syntax for defining test cases and expectations, it also can
1618be integrated with @acronym{CI, Continuous Integration} pipelines to
1619automate testing and is compatible with Vim and Neovim.")
1620 (license license:expat)))) ;; Specified in README.md.
1621
1622(define-public neovim-vader
1623 (package
1624 (inherit vim-vader)
1625 (name "neovim-vader")))
1626
1627(define-public vim-jedi-vim
1628 (package
1629 (name "vim-jedi-vim")
1630 (version "0.11.2")
1631 (source
1632 (origin
1633 (method git-fetch)
1634 (uri (git-reference
1635 (url "https://github.com/davidhalter/jedi-vim")
1636 (commit (string-append "v" version))))
1637 (file-name (git-file-name name version))
1638 (sha256
1639 (base32 "03fj7f5cpchrdmz9szal6fdg05wdwb0j6260nnyp37nmpcpn13yc"))))
1640 (build-system vim-build-system)
1641 (arguments (list #:plugin-name "jedi-vim"))
1642 (propagated-inputs (list python-jedi))
1643 (home-page "https://github.com/davidhalter/jedi-vim")
1644 (synopsis "Jedi autocompletion library for Vim")
1645 (description
1646 "@code{jedi-vim} is a VIM binding to the autocompletion library Jedi.")
1647 (license license:expat)))
1648
1649(define-public vim-srcery-vim
1650 (package
1651 (name "vim-srcery-vim")
1652 (version "2.0.0")
1653 (source
1654 (origin
1655 (method git-fetch)
1656 (uri (git-reference
1657 (url "https://github.com/srcery-colors/srcery-vim")
1658 (commit (string-append "v" version))))
1659 (file-name (git-file-name name version))
1660 (sha256
1661 (base32 "0nwk81y9j5ljjm3k19kf1zmscdxiis4mwan026wv7cqp7f9qhxlr"))))
1662 (build-system vim-build-system)
1663 (arguments
1664 (list #:plugin-name "srcery"
1665 #:mode "opt"))
1666 (home-page "https://srcery.sh")
1667 (synopsis "Dark colorscheme for gvim and vim")
1668 (description
1669 "Srcery is a color scheme with clearly defined contrasting colors
1670and a slightly earthy tone.")
1671 (license license:expat)))
1672
1673(define-public vim-commentary
1674 (let ((commit "e87cd90dc09c2a203e13af9704bd0ef79303d755")
1675 (revision "1"))
1676 (package
1677 (name "vim-commentary")
1678 (version (git-version "1.3" revision commit))
1679 (source
1680 (origin
1681 (method git-fetch)
1682 (uri (git-reference
1683 (url "https://github.com/tpope/vim-commentary")
1684 (commit commit)))
1685 (file-name (string-append name "-" version "-checkout"))
1686 (sha256
1687 (base32 "09kzc89iwkgsi4wvjxk56fis462kkz5chcl9sl4hdbmpa1f41wy0"))))
1688 (build-system vim-build-system)
1689 (arguments
1690 (list
1691 #:plugin-name "commentary.vim"))
1692 (synopsis "Vim plugin for commenting out code")
1693 (description
1694 "Comment stuff out. Use gcc to comment out a line (takes a count), gc to
1695comment out the target of a motion (for example, gcap to comment out a
1696paragraph), gc in visual mode to comment out the selection, and gc in operator
1697pending mode to target a comment. You can also use it as a command, either with
1698a range like :7,17Commentary, or as part of a :global invocation like with
1699:g/TODO/Commentary.")
1700 (home-page "https://www.vim.org/scripts/script.php?script_id=3695")
1701 (license license:vim))))
1702
1703(define-public vim-guile
1704 (let ((commit "f76959a9dbdc69cde018901de82ac5a3d443843c")
1705 (revision "1"))
1706 (package
1707 (name "vim-guile")
1708 (version (git-version "0.0.0" revision commit))
1709 (source
1710 (origin
1711 (method git-fetch)
1712 (uri (git-reference
1713 (url "https://github.com/HiPhish/guile.vim")
1714 (commit commit)))
1715 (file-name (string-append name "-" version "-checkout"))
1716 (sha256
1717 (base32 "1pqlhssdnpd8ngjc5bssma7ddjhffvh8hj67gchmyyxr5jfxwdq9"))))
1718 (build-system vim-build-system)
1719 (arguments
1720 (list
1721 #:plugin-name "guile.vim"))
1722 (synopsis "Syntax highlighting for GNU Guile")
1723 (description
1724 "This plugin extends Vim's Scheme support to include the additions to
1725the language provided by the GNU Guile implementation. The plugin automatically
1726detects whether a Scheme file is a Guile file and adds syntax highlighting for
1727Guile's special forms.")
1728 (home-page "https://github.com/HiPhish/guile.vim")
1729 (license license:expat))))
1730
1731(define-public vim-dhall-vim
1732 (let ((commit "68500ef46ff3706f46c99db3be7a0c8abcf6a3ae")
1733 (revision "1"))
1734 (package
1735 (name "vim-dhall-vim")
1736 (version (git-version "0.0.0" revision commit))
1737 (source
1738 (origin
1739 (method git-fetch)
1740 (uri (git-reference
1741 (url "https://github.com/vmchale/dhall-vim")
1742 (commit commit)))
1743 (file-name (string-append name "-" version "-checkout"))
1744 (sha256
1745 (base32 "0lwna4kcq7davfvh3535n8wl9jxkjm7cg6jgpisd17kvagihh8qw"))))
1746 (build-system vim-build-system)
1747 (arguments
1748 (list
1749 #:plugin-name "dhall-vim"))
1750 (synopsis "Vim configuration for Dhall")
1751 (description
1752 "A vim plugin to provide support and syntax hightlighting for the Dhall
1753programming language")
1754 (home-page "https://github.com/vmchale/dhall-vim")
1755 (license license:bsd-3))))
1756
1757(define-public vim-mundo
1758 (let ((commit "b53d35fb5ca9923302b9ef29e618ab2db4cc675e")
1759 (revision "1"))
1760 (package
1761 (name "vim-mundo")
1762 (version (git-version "3.1.0" revision commit))
1763 (source
1764 (origin
1765 (method git-fetch)
1766 (uri (git-reference
1767 (url "https://github.com/simnalamburt/vim-mundo")
1768 (commit commit)))
1769 (file-name (string-append name "-" version "-checkout"))
1770 (sha256
1771 (base32 "1dwrarcxrh8in78igm036lpvyww60c93vmmlk8h054i3v2p8vv59"))))
1772 (build-system vim-build-system)
1773 (arguments
1774 (list
1775 #:plugin-name "Mundo"))
1776 (synopsis "Vim undo tree visualizer")
1777 (description "A Vim plugin to visualize the Vim undo tree")
1778 (home-page "https://simnalamburt.github.io/vim-mundo/")
1779 (license license:gpl2))))
1780
1781(define-public vim-zig
1782 (let ((commit "54c216e5306a5c3878a60596aacb94dca8652ab9")
1783 (revision "1"))
1784 (package
1785 (name "vim-zig")
1786 (version (git-version "0.0.0" revision commit))
1787 (source
1788 (origin
1789 (method git-fetch)
1790 (uri (git-reference
1791 (url "https://github.com/ziglang/zig.vim")
1792 (commit commit)))
1793 (file-name (string-append name "-" version "-checkout"))
1794 (sha256
1795 (base32 "1nxwjyn3ps3c2abffai5cql3czl4kah4cin0g30damy1k99ypncb"))))
1796 (build-system vim-build-system)
1797 (arguments
1798 (list
1799 #:plugin-name "zig.vim"))
1800 (synopsis "Vim configuration for Zig")
1801 (description
1802 "File detection and syntax highlighting for the zig programming
1803language.")
1804 (home-page "https://github.com/ziglang/zig.vim")
1805 (license license:expat))))
1806
1807(define-public vim-plantuml-syntax
1808 (let ((commit "845abb56dcd3f12afa6eb47684ef5ba3055802b8")
1809 (revision "1"))
1810 (package
1811 (name "vim-plantuml-syntax")
1812 (version (git-version "0.0.0" revision commit))
1813 (source
1814 (origin
1815 (method git-fetch)
1816 (uri (git-reference
1817 (url "https://github.com/aklt/plantuml-syntax")
1818 (commit commit)))
1819 (file-name (string-append name "-" version "-checkout"))
1820 (sha256
1821 (base32 "0d2frv6knkj4bjavq2c2kx8qdnmcq0d8l04a5z7bpqwkmrrhd31f"))))
1822 (build-system vim-build-system)
1823 (arguments
1824 (list
1825 #:plugin-name "plantuml-syntax"))
1826 (synopsis "Syntax highlighting for PlantUML")
1827 (description
1828 "This is a vim syntax file for PlantUML. The filetype will be set to
1829plantuml for *.pu, *.uml, *.puml, *.iuml or *.plantuml files or if the first
1830line of a file contains @@startuml. Additionally the makeprg is set to plantuml
1831assuming you have this executable in your path.")
1832 (home-page "https://github.com/aklt/plantuml-syntax")
1833 (license license:vim))))