~ruther/guix-local

0eb7f3d98936f6aeef76b45ef08da987cf7d212a — Nathan Merkley 2 years ago 9e8b3b8
gnu: Add vim-plantuml-syntax.

* gnu/packages/vim.scm (vim-plantuml-syntax): New variable.

Change-Id: I3e116520239bb66b1140e5bbd40659b3681f77e6
Signed-off-by: Greg Hogan <code@greghogan.com>
1 files changed, 28 insertions(+), 0 deletions(-)

M gnu/packages/vim.scm
M gnu/packages/vim.scm => gnu/packages/vim.scm +28 -0
@@ 1785,3 1785,31 @@ programming language")
language.")
      (home-page "https://github.com/ziglang/zig.vim")
      (license license:expat))))

(define-public vim-plantuml-syntax
  (let ((commit "845abb56dcd3f12afa6eb47684ef5ba3055802b8")
        (revision "1"))
    (package
      (name "vim-plantuml-syntax")
      (version (git-version "0.0.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/aklt/plantuml-syntax")
               (commit commit)))
         (file-name (string-append name "-" version "-checkout"))
         (sha256
          (base32 "0d2frv6knkj4bjavq2c2kx8qdnmcq0d8l04a5z7bpqwkmrrhd31f"))))
      (build-system vim-build-system)
      (arguments
       (list
        #:plugin-name "plantuml-syntax"))
      (synopsis "Syntax highlighting for PlantUML")
      (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 license:vim))))