Mercurial > vim
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 |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: ecd (Embedix Component Description) files | |
3 " Maintainer: John Beppu <beppu@opensource.lineo.com> | |
4 " URL: http://opensource.lineo.com/~beppu/prose/ecd_vim.html | |
5 " Last Change: 2001 Sep 27 | |
6 | |
7 " An ECD file contains meta-data for packages in the Embedix Linux distro. | |
8 " This syntax file was derived from apachestyle.vim | |
9 " by Christian Hammers <ch@westend.com> | |
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 | 13 finish |
14 endif | |
15 | |
16 syn case ignore | |
17 | |
18 " specials | |
19 syn match ecdComment "^\s*#.*" | |
20 | |
21 " options and values | |
22 syn match ecdAttr "^\s*[a-zA-Z]\S*\s*[=].*$" contains=ecdAttrN,ecdAttrV | |
23 syn match ecdAttrN contained "^.*="me=e-1 | |
24 syn match ecdAttrV contained "=.*$"ms=s+1 | |
25 | |
26 " tags | |
27 syn region ecdTag start=+<+ end=+>+ contains=ecdTagN,ecdTagError | |
28 syn match ecdTagN contained +<[/\s]*[-a-zA-Z0-9_]\++ms=s+1 | |
29 syn match ecdTagError contained "[^>]<"ms=s+1 | |
30 | |
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 | 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 | 41 |
42 | |
43 let b:current_syntax = "ecd" | |
44 " vim: ts=8 |