From 7428206175dab7c0c15350a62eb99b69c9e27f44 Mon Sep 17 00:00:00 2001 From: Renken Date: Mon, 8 Aug 2022 00:50:49 +0200 Subject: packages: vim: vim-plantuml-syntax --- shino/packages/vim.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 shino/packages/vim.scm (limited to 'shino/packages') 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))) -- cgit v1.2.3