annotate runtime/syntax/dracula.vim @ 20434:e690ca8ee51c

Added tag v8.2.0771 for changeset 5950284a517fc35fc62eedcc8a4211e5518ede56
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 May 2020 21:30:11 +0200
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Dracula
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Scott Bordelon <slb@artisan.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: Wed Apr 25 18:50:01 PDT 2001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Extensions: drac.*,*.drac,*.drc,*.lvs,*.lpe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Comment: Dracula is an industry-standard language created by CADENCE (a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " company specializing in Electronics Design Automation), for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " the purposes of Design Rule Checking, Layout vs. Schematic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " verification, and Layout Parameter Extraction.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
11 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
12 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " Ignore case
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " A bunch of useful Dracula keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 "syn match draculaIdentifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword draculaStatement indisk primary outdisk printfile system
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword draculaStatement mode scale resolution listerror keepdata
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword draculaStatement datatype by lt gt output label range touch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword draculaStatement inside outside within overlap outlib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword draculaStatement schematic model unit parset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match draculaStatement "flag-\(non45\|acuteangle\|offgrid\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match draculaStatement "text-pri-only"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match draculaStatement "[=&]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match draculaStatement "\[[^,]*\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match draculastatement "^ *\(sel\|width\|ext\|enc\|area\|shrink\|grow\|length\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match draculastatement "^ *\(or\|not\|and\|select\|size\|connect\|sconnect\|int\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match draculastatement "^ *\(softchk\|stamp\|element\|parasitic cap\|attribute cap\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match draculastatement "^ *\(flagnon45\|lextract\|equation\|lpeselect\|lpechk\|attach\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match draculaStatement "\(temporary\|connect\)-layer"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match draculaStatement "program-dir"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match draculaStatement "status-command"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match draculaStatement "batch-queue"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match draculaStatement "cnames-csen"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match draculaStatement "filter-lay-opt"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match draculaStatement "filter-sch-opt"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match draculaStatement "power-node"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match draculaStatement "ground-node"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match draculaStatement "subckt-name"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match draculaType "\*description"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match draculaType "\*input-layer"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match draculaType "\*operation"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match draculaType "\*end"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match draculaComment ";.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match draculaPreProc "^#.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 "Modify the following as needed. The trade-off is performance versus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 "functionality.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn sync lines=50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
61 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
63 hi def link draculaIdentifier Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
64 hi def link draculaStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
65 hi def link draculaType Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
66 hi def link draculaComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
67 hi def link draculaPreProc PreProc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 let b:current_syntax = "dracula"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " vim: ts=8