annotate runtime/syntax/structurizr.vim @ 32543:ca42967a3253 v9.0.1603

patch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll' Commit: https://github.com/vim/vim/commit/3c802277604a6b21110e41bedfe4c937ba7c2b7d Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Jun 3 22:08:33 2023 +0100 patch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll' Problem: Display wrong when scrolling multiple lines with 'smoothscroll' set. Solution: Redraw when w_skipcol changed. (closes #12477, closes #12468)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Jun 2023 23:15:04 +0200
parents 8fc68ce4a097
children 635de73eeb4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Structurizr DSL
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Bastian Venthur <venthur@debian.org>
27804
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
4 " Last Change: 2022-02-15
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Remark: For a language reference, see
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " https://github.com/structurizr/dsl
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 if exists("b:current_syntax")
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 finish
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 endif
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 syn case ignore
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 " comments
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 syn match scomment "#.*$"
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 syn match scomment "//.*$"
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 syn region scomment start="/\*" end="\*/"
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 " keywords
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 syn keyword skeyword animation
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 syn keyword skeyword autoLayout
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 syn keyword skeyword branding
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 syn keyword skeyword component
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 syn keyword skeyword configuration
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 syn keyword skeyword container
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 syn keyword skeyword containerinstance
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 syn keyword skeyword custom
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 syn keyword skeyword deployment
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 syn keyword skeyword deploymentenvironment
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 syn keyword skeyword deploymentgroup
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 syn keyword skeyword deploymentnode
27804
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
33 syn keyword skeyword description
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 syn keyword skeyword dynamic
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 syn keyword skeyword element
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 syn keyword skeyword enterprise
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 syn keyword skeyword exclude
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 syn keyword skeyword filtered
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 syn keyword skeyword group
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40 syn keyword skeyword healthcheck
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 syn keyword skeyword include
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 syn keyword skeyword infrastructurenode
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 syn keyword skeyword model
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 syn keyword skeyword person
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 syn keyword skeyword perspectives
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 syn keyword skeyword properties
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 syn keyword skeyword relationship
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 syn keyword skeyword softwaresystem
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 syn keyword skeyword softwaresysteminstance
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 syn keyword skeyword styles
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 syn keyword skeyword systemcontext
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 syn keyword skeyword systemlandscape
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 syn keyword skeyword tags
27804
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
54 syn keyword skeyword technology
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 syn keyword skeyword terminology
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 syn keyword skeyword theme
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 syn keyword skeyword title
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 syn keyword skeyword url
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 syn keyword skeyword users
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 syn keyword skeyword views
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 syn keyword skeyword workspace
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 syn match skeyword "\!adrs\s\+"
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
64 syn match skeyword "\!constant\s\+"
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 syn match skeyword "\!docs\s\+"
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
66 syn match skeyword "\!identifiers\s\+"
27804
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
67 syn match skeyword "\!impliedrelationships\s\+"
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
68 syn match skeyword "\!include\s\+"
27804
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
69 syn match skeyword "\!plugin\s\+"
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
70 syn match skeyword "\!ref\s\+"
8fc68ce4a097 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25700
diff changeset
71 syn match skeyword "\!script\s\+"
25700
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
72
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
73 syn region sstring oneline start='"' end='"'
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
74
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
75 syn region sblock start='{' end='}' fold transparent
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
76
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77 hi def link sstring string
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
78 hi def link scomment comment
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
79 hi def link skeyword keyword
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
80
d4faa2c5211b Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
81 let b:current_syntax = "structurizr"