25700
|
1 " Vim syntax file
|
|
2 " Language: Structurizr DSL
|
|
3 " Maintainer: Bastian Venthur <venthur@debian.org>
|
|
4 " Last Change: 2021-08-16
|
|
5 " Remark: For a language reference, see
|
|
6 " https://github.com/structurizr/dsl
|
|
7
|
|
8
|
|
9 if exists("b:current_syntax")
|
|
10 finish
|
|
11 endif
|
|
12
|
|
13 syn case ignore
|
|
14
|
|
15 " comments
|
|
16 syn match scomment "#.*$"
|
|
17 syn match scomment "//.*$"
|
|
18 syn region scomment start="/\*" end="\*/"
|
|
19
|
|
20 " keywords
|
|
21 syn keyword skeyword animation
|
|
22 syn keyword skeyword autoLayout
|
|
23 syn keyword skeyword branding
|
|
24 syn keyword skeyword component
|
|
25 syn keyword skeyword configuration
|
|
26 syn keyword skeyword container
|
|
27 syn keyword skeyword containerinstance
|
|
28 syn keyword skeyword custom
|
|
29 syn keyword skeyword deployment
|
|
30 syn keyword skeyword deploymentenvironment
|
|
31 syn keyword skeyword deploymentgroup
|
|
32 syn keyword skeyword deploymentnode
|
|
33 syn keyword skeyword dynamic
|
|
34 syn keyword skeyword element
|
|
35 syn keyword skeyword enterprise
|
|
36 syn keyword skeyword exclude
|
|
37 syn keyword skeyword filtered
|
|
38 syn keyword skeyword group
|
|
39 syn keyword skeyword healthcheck
|
|
40 syn keyword skeyword impliedrelationships
|
|
41 syn keyword skeyword include
|
|
42 syn keyword skeyword infrastructurenode
|
|
43 syn keyword skeyword model
|
|
44 syn keyword skeyword person
|
|
45 syn keyword skeyword perspectives
|
|
46 syn keyword skeyword properties
|
|
47 syn keyword skeyword relationship
|
|
48 syn keyword skeyword softwaresystem
|
|
49 syn keyword skeyword softwaresysteminstance
|
|
50 syn keyword skeyword styles
|
|
51 syn keyword skeyword systemcontext
|
|
52 syn keyword skeyword systemlandscape
|
|
53 syn keyword skeyword tags
|
|
54 syn keyword skeyword terminology
|
|
55 syn keyword skeyword theme
|
|
56 syn keyword skeyword title
|
|
57 syn keyword skeyword url
|
|
58 syn keyword skeyword users
|
|
59 syn keyword skeyword views
|
|
60 syn keyword skeyword workspace
|
|
61
|
|
62 syn match skeyword "\!adrs\s\+"
|
|
63 syn match skeyword "\!constant\s\+"
|
|
64 syn match skeyword "\!docs\s\+"
|
|
65 syn match skeyword "\!identifiers\s\+"
|
|
66 syn match skeyword "\!include\s\+"
|
|
67
|
|
68 syn region sstring oneline start='"' end='"'
|
|
69
|
|
70 syn region sblock start='{' end='}' fold transparent
|
|
71
|
|
72 hi def link sstring string
|
|
73 hi def link scomment comment
|
|
74 hi def link skeyword keyword
|
|
75
|
|
76 let b:current_syntax = "structurizr"
|