80 lines
3.4 KiB
Scheme
80 lines
3.4 KiB
Scheme
(define-module (shino packages vim)
|
||
#:use-module ((guix licenses)
|
||
#:prefix license:)
|
||
#:use-module (guix packages)
|
||
#:use-module (guix gexp)
|
||
#:use-module (guix utils)
|
||
#:use-module (guix download)
|
||
#:use-module (guix git-download)
|
||
#:use-module (guix build-system copy)
|
||
#:use-module (gnu packages)
|
||
#:use-module (gnu packages uml))
|
||
|
||
(define-public vim-plantuml-syntax
|
||
(package
|
||
(name "vim-plantuml-syntax")
|
||
(version "0.2.0")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/aklt/plantuml-syntax")
|
||
(commit "660bbb1ece1e654b2176f76ce0689304c5a4a025")))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"05xf36np8y0gdcd05nzmkawh131lp4mm5cjgjr1byr8cjyl1idr3"))))
|
||
(build-system copy-build-system)
|
||
(arguments
|
||
'(#:install-plan '(("ftdetect" "share/vim/vimfiles/")
|
||
("ftplugin" "share/vim/vimfiles/")
|
||
("indent" "share/vim/vimfiles/")
|
||
("syntax" "share/vim/vimfiles/"))))
|
||
(synopsis "Vim PlantUML Syntax/Plugin/FTDetect")
|
||
(inputs (list plantuml))
|
||
(description
|
||
"This is a vim syntax file for PlantUML.The filetype will be set to
|
||
plantuml for @code{*.pu}, @code{*.uml}, @code{*.puml}, @code{*.iuml} or
|
||
@code{*.plantuml} files or if the first line of a file contains
|
||
@code{@@startuml}. Additionally the makeprg is set to plantuml assuming you
|
||
have this executable in your path.")
|
||
(home-page "https://github.com/aklt/plantuml-syntax")
|
||
(license #f)))
|
||
|
||
(define-public vim-doxygen-toolkit
|
||
(package
|
||
(name "vim-doxygen-toolkit")
|
||
(version "0.2.13")
|
||
(source (origin
|
||
(method git-fetch)
|
||
(uri (git-reference
|
||
(url "https://github.com/vim-scripts/DoxygenToolkit.vim")
|
||
(commit version)))
|
||
(file-name (git-file-name name version))
|
||
(sha256
|
||
(base32
|
||
"1za8li02j4nhqjjsyxg4p78638h5af4izim37zc0p1x55zr3i85r"))))
|
||
(build-system copy-build-system)
|
||
(arguments
|
||
'(#:install-plan '(("plugin" "share/vim/vimfiles/"))))
|
||
(synopsis "Simplify Doxygen documentation in C, C++, Python.")
|
||
(description
|
||
"Currently five purposes have been defined :
|
||
@itemize
|
||
@item Generates a doxygen license comment. The tag text is configurable.
|
||
@item Generates a doxygen author skeleton. The tag text is configurable.
|
||
@item Generates a doxygen comment skeleton for a C, C++ or Python function or
|
||
class, including @code{@@brief}, @code{@@param} (for each named argument), and
|
||
@code{@@return}. The tag text as well as a comment block header and footer are
|
||
configurable. (Consequently, you can have rief, etc. if you wish, with little
|
||
effort.)
|
||
@item Ignore code fragment placed in a block defined by #ifdef ... #endif
|
||
(C/C++). The block name must be given to the function. All of the
|
||
corresponding blocks in all the file will be treated and placed in a new block
|
||
DOX_SKIP_BLOCK (or any other name that you have configured). Then you have to
|
||
update PREDEFINED value in your doxygen configuration file with correct block
|
||
name. You also have to set ENABLE_PREPROCESSING to YES.
|
||
@item Generate a doxygen group (begining and ending). The tag text is
|
||
configurable.
|
||
@end itemize")
|
||
(home-page "https://www.vim.org/scripts/script.php?script_id=987")
|
||
(license #f)))
|