aboutsummaryrefslogtreecommitdiffstats
path: root/shino/packages/vim.scm
blob: b43a3e48c8d2ad641fd10d85ec99e2d7fcf9bc39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(define-module (shino packages vim)
  #:use-module ((guix licenses)
                #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix packages plantuml)
  #: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)))