annotate runtime/syntax/ecd.vim @ 32309:d245cd5b3bd7 v9.0.1486

patch 9.0.1486: parallel make might not work Commit: https://github.com/vim/vim/commit/cfc788c38848adcd54e4130f16f2813cd1e215dd Author: Samuel Dionne-Riel <samuel@dionne-riel.com> Date: Mon Apr 24 22:41:53 2023 +0100 patch 9.0.1486: parallel make might not work Problem: Parallel make might not work. Solution: Add missing dependencies. (Samuel Dionne-Riel, closes https://github.com/vim/vim/issues/12288)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Apr 2023 23:45:02 +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: ecd (Embedix Component Description) files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: John Beppu <beppu@opensource.lineo.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://opensource.lineo.com/~beppu/prose/ecd_vim.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last Change: 2001 Sep 27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " An ECD file contains meta-data for packages in the Embedix Linux distro.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " This syntax file was derived from apachestyle.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " by Christian Hammers <ch@westend.com>
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 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " specials
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match ecdComment "^\s*#.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " options and values
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match ecdAttr "^\s*[a-zA-Z]\S*\s*[=].*$" contains=ecdAttrN,ecdAttrV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match ecdAttrN contained "^.*="me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match ecdAttrV contained "=.*$"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " tags
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn region ecdTag start=+<+ end=+>+ contains=ecdTagN,ecdTagError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match ecdTagN contained +<[/\s]*[-a-zA-Z0-9_]\++ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match ecdTagError contained "[^>]<"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
32 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
34 hi def link ecdComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
35 hi def link ecdAttr Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
36 hi def link ecdAttrN Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
37 hi def link ecdAttrV Value
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
38 hi def link ecdTag Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
39 hi def link ecdTagN Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
40 hi def link ecdTagError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 let b:current_syntax = "ecd"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 " vim: ts=8