aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)))