aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2022-08-08 00:50:49 +0200
committerRenken <renken@shione.net>2022-08-08 00:50:49 +0200
commit7428206175dab7c0c15350a62eb99b69c9e27f44 (patch)
treebcf7419f82bf4daf56ae9b2927d0b6c72d021e19
parentbe278aa8b1a91da6f53f517a093234894c1e0f3d (diff)
downloadshione-7428206175dab7c0c15350a62eb99b69c9e27f44.tar.gz
shione-7428206175dab7c0c15350a62eb99b69c9e27f44.zip
packages: vim: vim-plantuml-syntax
-rw-r--r--shino/packages/vim.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/shino/packages/vim.scm b/shino/packages/vim.scm
new file mode 100644
index 0000000..3ce4e02
--- /dev/null
+++ b/shino/packages/vim.scm
@@ -0,0 +1,39 @@
+(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)
+ )
+
+(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")
+ (description
+ "This is a vim syntax file for PlantUML.The filetype will be set to
+plantuml for *.pu, *.uml, *.puml, *.iuml or *.plantuml files or if the
+first line of a file contains @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)))