Mercurial > vim
annotate runtime/syntax/redif.vim @ 7670:fd31843c7b58 v7.4.1134
commit https://github.com/vim/vim/commit/82e4184d489e2ce950c871354062fca40bf59598
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 13:50:57 2016 +0100
patch 7.4.1134
Problem: The arglist test fails on MS-Windows.
Solution: Only check for failure of argedit on Unix.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jan 2016 14:00:06 +0100 |
parents | 22fa3049e934 |
children | 43efa4f5a8ea |
rev | line source |
---|---|
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
1 " Vim syntax file |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
2 " Language: ReDIF |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
3 " Maintainer: Axel Castellane <axel.castellane@polytechnique.edu> |
4339 | 4 " Last Change: 2013 April 17 |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
5 " Original Author: Axel Castellane |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 " Source: http://openlib.org/acmes/root/docu/redif_1.html |
4278 | 7 " File Extension: rdf |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
8 " Note: The ReDIF format is used by RePEc. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
9 |
4278 | 10 " To be compatible with Vim 5.8 use: |
11 if version < 600 | |
12 syntax clear | |
13 elseif exists("b:current_syntax") | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
14 finish |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
15 endif |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
16 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
17 " ReDIF is case-insensitive |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
18 syntax case ignore |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
19 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
20 " Structure: Some fields determine what fields can come next. For example: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
21 " Template-Type |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
22 " *-Name |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
23 " File-URL |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
24 " *-Institution |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
25 " Those fields span a syntax region over several lines so that these regions |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
26 " can only contain their respective items. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
27 |
4278 | 28 " Any line which is not a correct template or part of an argument is an error. |
29 " This comes at the very beginning, so it has the lowest priority and will | |
30 " only match if nothing else did. | |
31 syntax match redifWrongLine /^.\+/ display | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
32 |
4278 | 33 highlight def link redifWrongLine redifError |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
34 |
4278 | 35 " Comments must start with # and it must be the first character of the line, |
36 " otherwise I believe that they are considered as part of an argument. | |
37 syntax match redifComment /^#.*/ containedin=ALL display | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
38 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
39 " Defines the 9 possible multi-lines regions of Template-Type and the fields |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
40 " they can contain. |
4278 | 41 syntax region redifRegionTemplatePaper start=/^Template-Type:\_s*ReDIF-Paper \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsPaper,redifWrongLine,redifRegionClusterAuthor,redifRegionClusterFile fold |
42 syntax region redifRegionTemplateArticle start=/^Template-Type:\_s*ReDIF-Article \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsArticle,redifWrongLine,redifRegionClusterAuthor,redifRegionClusterFile fold | |
43 syntax region redifRegionTemplateChapter start=/^Template-Type:\_s*ReDIF-Chapter \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsChapter,redifWrongLine,redifRegionClusterAuthor,redifRegionClusterFile,redifRegionClusterProvider,redifRegionClusterPublisher,redifRegionClusterEditor fold | |
44 syntax region redifRegionTemplateBook start=/^Template-Type:\_s*ReDIF-Book \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsBook,redifWrongLine,redifRegionClusterAuthor,redifRegionClusterFile,redifRegionClusterProvider,redifRegionClusterPublisher,redifRegionClusterEditor fold | |
45 syntax region redifRegionTemplateSoftware start=/^Template-Type:\_s*ReDIF-Software \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsSoftware,redifWrongLine,redifRegionClusterAuthor,redifRegionClusterFile fold | |
46 syntax region redifRegionTemplateArchive start=/^Template-Type:\_s*ReDIF-Archive \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsArchive,redifWrongLine fold | |
47 syntax region redifRegionTemplateSeries start=/^Template-Type:\_s*ReDIF-Series \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsSeries,redifWrongLine,redifRegionClusterProvider,redifRegionClusterPublisher,redifRegionClusterEditor fold | |
48 syntax region redifRegionTemplateInstitution start=/^Template-Type:\_s*ReDIF-Institution \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsInstitution,redifWrongLine,redifRegionClusterPrimary,redifRegionClusterSecondary,redifRegionClusterTertiary,redifRegionClusterQuaternary fold | |
49 syntax region redifRegionTemplatePerson start=/^Template-Type:\_s*ReDIF-Person \d\+\.\d\+/ end=/^Template-Type:/me=s-1 contains=redifContainerFieldsPerson,redifWrongLine,redifRegionClusterWorkplace fold | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
50 |
4278 | 51 " All fields are foldable (These come before clusters, so they have lower |
52 " priority). So they are contained in a foldable syntax region. | |
53 syntax region redifContainerFieldsPaper start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldTitle,redifFieldHandleOfWork,redifFieldLanguage,redifFieldContactEmail,redifFieldAbstract,redifFieldClassificationJEL,redifFieldKeywords,redifFieldNumber,redifFieldCreationDate,redifFieldRevisionDate,redifFieldPublicationStatus,redifFieldNote,redifFieldLength,redifFieldSeries,redifFieldAvailability,redifFieldOrderURL,redifFieldArticleHandle,redifFieldBookHandle,redifFieldChapterHandle,redifFieldPaperHandle,redifFieldSoftwareHandle,redifFieldRestriction,redifFieldPrice,redifFieldNotification,redifFieldPublicationType,redifFieldTemplateType,redifWrongLine contained transparent fold | |
54 syntax region redifContainerFieldsArticle start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldTitle,redifFieldHandleOfWork,redifFieldLanguage,redifFieldContactEmail,redifFieldAbstract,redifFieldClassificationJEL,redifFieldKeywords,redifFieldNumber,redifFieldCreationDate,redifFieldPublicationStatus,redifFieldOrderURL,redifFieldArticleHandle,redifFieldBookHandle,redifFieldChapterHandle,redifFieldPaperHandle,redifFieldSoftwareHandle,redifFieldRestriction,redifFieldPrice,redifFieldNotification,redifFieldPublicationType,redifFieldJournal,redifFieldVolume,redifFieldYear,redifFieldIssue,redifFieldMonth,redifFieldPages,redifFieldNumber,redifFieldArticleHandle,redifFieldBookHandle,redifFieldChapterHandle,redifFieldPaperHandle,redifFieldSoftwareHandle,redifFieldTemplateType,redifWrongLine contained transparent fold | |
55 syntax region redifContainerFieldsChapter start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldHandleOfWork,redifFieldTitle,redifFieldContactEmail,redifFieldAbstract,redifFieldClassificationJEL,redifFieldKeywords,redifFieldBookTitle,redifFieldYear,redifFieldMonth,redifFieldPages,redifFieldChapter,redifFieldVolume,redifFieldEdition,redifFieldSeries,redifFieldISBN,redifFieldPublicationStatus,redifFieldNote,redifFieldInBook,redifFieldOrderURL,redifFieldArticleHandle,redifFieldBookHandle,redifFieldChapterHandle,redifFieldPaperHandle,redifFieldSoftwareHandle,redifFieldTemplateType,redifWrongLine contained transparent fold | |
56 syntax region redifContainerFieldsBook start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldTitle,redifFieldHandleOfWork,redifFieldContactEmail,redifFieldYear,redifFieldMonth,redifFieldVolume,redifFieldEdition,redifFieldSeries,redifFieldISBN,redifFieldPublicationStatus,redifFieldNote,redifFieldAbstract,redifFieldClassificationJEL,redifFieldKeywords,redifFieldHasChapter,redifFieldPrice,redifFieldOrderURL,redifFieldNumber,redifFieldCreationDate,redifFieldPublicationDate,redifFieldArticleHandle,redifFieldBookHandle,redifFieldChapterHandle,redifFieldPaperHandle,redifFieldSoftwareHandle,redifFieldTemplateType,redifWrongLine contained transparent fold | |
57 syntax region redifContainerFieldsSoftware start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldHandleOfWork,redifFieldTitle,redifFieldProgrammingLanguage,redifFieldAbstract,redifFieldNumber,redifFieldVersion,redifFieldClassificationJEL,redifFieldKeywords,redifFieldSize,redifFieldSeries,redifFieldCreationDate,redifFieldRevisionDate,redifFieldNote,redifFieldRequires,redifFieldArticleHandle,redifFieldBookHandle,redifFieldChapterHandle,redifFieldPaperHandle,redifFieldSoftwareHandle,redifFieldTemplateType,redifWrongLine contained transparent fold | |
58 syntax region redifContainerFieldsArchive start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldHandleOfArchive,redifFieldURL,redifFieldMaintainerEmail,redifFieldName,redifFieldMaintainerName,redifFieldMaintainerPhone,redifFieldMaintainerFax,redifFieldClassificationJEL,redifFieldHomepage,redifFieldDescription,redifFieldNotification,redifFieldRestriction,redifFieldTemplateType,redifWrongLine contained transparent fold | |
59 syntax region redifContainerFieldsSeries start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldName,redifFieldHandleOfSeries,redifFieldMaintainerEmail,redifFieldType,redifFieldOrderEmail,redifFieldOrderHomepage,redifFieldOrderPostal,redifFieldPrice,redifFieldRestriction,redifFieldMaintainerPhone,redifFieldMaintainerFax,redifFieldMaintainerName,redifFieldDescription,redifFieldClassificationJEL,redifFieldKeywords,redifFieldNotification,redifFieldISSN,redifFieldFollowup,redifFieldPredecessor,redifFieldTemplateType,redifWrongLine contained transparent fold | |
60 syntax region redifContainerFieldsInstitution start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldHandleOfInstitution,redifFieldPrimaryDefunct,redifFieldSecondaryDefunct,redifFieldTertiaryDefunct,redifFieldTemplateType,redifWrongLine contained transparent fold | |
61 syntax region redifContainerFieldsPerson start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldHandleOfPerson,redifFieldNameFull,redifFieldNameFirst,redifFieldNameLast,redifFieldNamePrefix,redifFieldNameMiddle,redifFieldNameSuffix,redifFieldNameASCII,redifFieldEmail,redifFieldHomepage,redifFieldFax,redifFieldPostal,redifFieldPhone,redifFieldWorkplaceOrganization,redifFieldAuthorPaper,redifFieldAuthorArticle,redifFieldAuthorSoftware,redifFieldAuthorBook,redifFieldAuthorChapter,redifFieldEditorBook,redifFieldEditorSeries,redifFieldClassificationJEL,redifFieldShortId,redifFieldLastLoginDate,redifFieldRegisteredDate,redifWrongLine contained transparent fold | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
62 |
4278 | 63 " Defines the 10 possible clusters and what they can contain |
64 " A field not in the cluster ends the cluster. | |
65 syntax region redifRegionClusterWorkplace start=/^Workplace-Name:/ skip=/^Workplace-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsWorkplace fold | |
66 syntax region redifRegionClusterPrimary start=/^Primary-Name:/ skip=/^Primary-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsPrimary fold | |
67 syntax region redifRegionClusterSecondary start=/^Secondary-Name:/ skip=/^Secondary-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsSecondary fold | |
68 syntax region redifRegionClusterTertiary start=/^Tertiary-Name:/ skip=/^Tertiary-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsTertiary fold | |
69 syntax region redifRegionClusterQuaternary start=/^Quaternary-Name:/ skip=/^Quaternary-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsQuaternary fold | |
70 syntax region redifRegionClusterProvider start=/^Provider-Name:/ skip=/^Provider-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsProvider fold | |
71 syntax region redifRegionClusterPublisher start=/^Publisher-Name:/ skip=/^Publisher-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsPublisher fold | |
72 syntax region redifRegionClusterAuthor start=/^Author-Name:/ skip=/^Author-\%(Name\%(-First\|-Last\)\|Homepage\|Email\|Fax\|Postal\|Phone\|Person\|Workplace-Name\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifRegionClusterAuthorWorkplace,redifContainerFieldsAuthor fold | |
73 syntax region redifRegionClusterEditor start=/^Editor-Name:/ skip=/^Editor-\%(Name\%(-First\|-Last\)\|Homepage\|Email\|Fax\|Postal\|Phone\|Person\|Workplace-Name\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifRegionClusterEditorWorkplace,redifContainerFieldsEditor fold | |
74 syntax region redifRegionClusterFile start=/^File-URL:/ skip=/^File-\%(Format\|Function\|Size\|Restriction\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsFile fold | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
75 |
4278 | 76 " The foldable containers of the clusters. |
77 syntax region redifContainerFieldsWorkplace start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldWorkplaceName,redifFieldWorkplaceHomepage,redifFieldWorkplaceNameEnglish,redifFieldWorkplacePostal,redifFieldWorkplaceLocation,redifFieldWorkplaceEmail,redifFieldWorkplacePhone,redifFieldWorkplaceFax,redifFieldWorkplaceInstitution,redifWrongLine contained transparent fold | |
78 syntax region redifContainerFieldsPrimary start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldPrimaryName,redifFieldPrimaryHomepage,redifFieldPrimaryNameEnglish,redifFieldPrimaryPostal,redifFieldPrimaryLocation,redifFieldPrimaryEmail,redifFieldPrimaryPhone,redifFieldPrimaryFax,redifFieldPrimaryInstitution,redifWrongLine contained transparent fold | |
79 syntax region redifContainerFieldsSecondary start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldSecondaryName,redifFieldSecondaryHomepage,redifFieldSecondaryNameEnglish,redifFieldSecondaryPostal,redifFieldSecondaryLocation,redifFieldSecondaryEmail,redifFieldSecondaryPhone,redifFieldSecondaryFax,redifFieldSecondaryInstitution,redifWrongLine contained transparent fold | |
80 syntax region redifContainerFieldsTertiary start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldTertiaryName,redifFieldTertiaryHomepage,redifFieldTertiaryNameEnglish,redifFieldTertiaryPostal,redifFieldTertiaryLocation,redifFieldTertiaryEmail,redifFieldTertiaryPhone,redifFieldTertiaryFax,redifFieldTertiaryInstitution,redifWrongLine contained transparent fold | |
81 syntax region redifContainerFieldsQuaternary start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldQuaternaryName,redifFieldQuaternaryHomepage,redifFieldQuaternaryNameEnglish,redifFieldQuaternaryPostal,redifFieldQuaternaryLocation,redifFieldQuaternaryEmail,redifFieldQuaternaryPhone,redifFieldQuaternaryFax,redifFieldQuaternaryInstitution,redifWrongLine contained transparent fold | |
82 syntax region redifContainerFieldsProvider start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldProviderName,redifFieldProviderHomepage,redifFieldProviderNameEnglish,redifFieldProviderPostal,redifFieldProviderLocation,redifFieldProviderEmail,redifFieldProviderPhone,redifFieldProviderFax,redifFieldProviderInstitution,redifWrongLine contained transparent fold | |
83 syntax region redifContainerFieldsPublisher start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldPublisherName,redifFieldPublisherHomepage,redifFieldPublisherNameEnglish,redifFieldPublisherPostal,redifFieldPublisherLocation,redifFieldPublisherEmail,redifFieldPublisherPhone,redifFieldPublisherFax,redifFieldPublisherInstitution,redifWrongLine contained transparent fold | |
84 syntax region redifContainerFieldsAuthor start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldAuthorName,redifFieldAuthorNameFirst,redifFieldAuthorNameLast,redifFieldAuthorHomepage,redifFieldAuthorEmail,redifFieldAuthorFax,redifFieldAuthorPostal,redifFieldAuthorPhone,redifFieldAuthorPerson,redifWrongLine contained transparent fold | |
85 syntax region redifContainerFieldsEditor start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldEditorName,redifFieldEditorNameFirst,redifFieldEditorNameLast,redifFieldEditorHomepage,redifFieldEditorEmail,redifFieldEditorFax,redifFieldEditorPostal,redifFieldEditorPhone,redifFieldEditorPerson,redifWrongLine contained transparent fold | |
86 syntax region redifContainerFieldsFile start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldFileURL,redifFieldFileFormat,redifFieldFileFunction,redifFieldFileSize,redifFieldFileRestriction,redifWrongLine contained transparent fold | |
87 | |
88 " The two clusters in cluster (must be presented after to have priority over | |
89 " fields containers) | |
90 syntax region redifRegionClusterAuthorWorkplace start=/^Author-Workplace-Name:/ skip=/^Author-Workplace-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsAuthorWorkplace fold | |
91 syntax region redifRegionClusterEditorWorkplace start=/^Editor-Workplace-Name:/ skip=/^Editor-Workplace-\%(Name-English\|Homepage\|Postal\|Location\|Email\|Phone\|Fax\|Institution\):/ end=/^\S\{-}:/me=s-1 contained contains=redifWrongLine,redifContainerFieldsEditorWorkplace fold | |
92 | |
93 " Their foldable fields containers | |
94 syntax region redifContainerFieldsAuthorWorkplace start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldAuthorWorkplaceName,redifFieldAuthorWorkplaceHomepage,redifFieldAuthorWorkplaceNameEnglish,redifFieldAuthorWorkplacePostal,redifFieldAuthorWorkplaceLocation,redifFieldAuthorWorkplaceEmail,redifFieldAuthorWorkplacePhone,redifFieldAuthorWorkplaceFax,redifFieldAuthorWorkplaceInstitution,redifWrongLine contained transparent fold | |
95 syntax region redifContainerFieldsEditorWorkplace start=/^\S\{-}:/ end=/^\S\{-}:/me=s-1 contains=redifFieldEditorWorkplaceName,redifFieldEditorWorkplaceHomepage,redifFieldEditorWorkplaceNameEnglish,redifFieldEditorWorkplacePostal,redifFieldEditorWorkplaceLocation,redifFieldEditorWorkplaceEmail,redifFieldEditorWorkplacePhone,redifFieldEditorWorkplaceFax,redifFieldEditorWorkplaceInstitution,redifWrongLine contained transparent fold | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
96 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
97 " All the possible fields |
4278 | 98 " Note: The "Handle" field is handled a little bit differently, because it |
99 " does not have the same meaning depending on the Template-Type. See: | |
100 " /redifFieldHandleOf.... | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
101 syntax match redifFieldAbstract /^Abstract:/ skipwhite skipempty nextgroup=redifArgumentAbstract contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
102 syntax match redifFieldArticleHandle /^Article-Handle:/ skipwhite skipempty nextgroup=redifArgumentArticleHandle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
103 syntax match redifFieldAuthorArticle /^Author-Article:/ skipwhite skipempty nextgroup=redifArgumentAuthorArticle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
104 syntax match redifFieldAuthorBook /^Author-Book:/ skipwhite skipempty nextgroup=redifArgumentAuthorBook contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
105 syntax match redifFieldAuthorChapter /^Author-Chapter:/ skipwhite skipempty nextgroup=redifArgumentAuthorChapter contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
106 syntax match redifFieldAuthorEmail /^Author-Email:/ skipwhite skipempty nextgroup=redifArgumentAuthorEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
107 syntax match redifFieldAuthorFax /^Author-Fax:/ skipwhite skipempty nextgroup=redifArgumentAuthorFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
108 syntax match redifFieldAuthorHomepage /^Author-Homepage:/ skipwhite skipempty nextgroup=redifArgumentAuthorHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
109 syntax match redifFieldAuthorName /^Author-Name:/ skipwhite skipempty nextgroup=redifArgumentAuthorName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
110 syntax match redifFieldAuthorNameFirst /^Author-Name-First:/ skipwhite skipempty nextgroup=redifArgumentAuthorNameFirst contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
111 syntax match redifFieldAuthorNameLast /^Author-Name-Last:/ skipwhite skipempty nextgroup=redifArgumentAuthorNameLast contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
112 syntax match redifFieldAuthorPaper /^Author-Paper:/ skipwhite skipempty nextgroup=redifArgumentAuthorPaper contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
113 syntax match redifFieldAuthorPerson /^Author-Person:/ skipwhite skipempty nextgroup=redifArgumentAuthorPerson contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
114 syntax match redifFieldAuthorPhone /^Author-Phone:/ skipwhite skipempty nextgroup=redifArgumentAuthorPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
115 syntax match redifFieldAuthorPostal /^Author-Postal:/ skipwhite skipempty nextgroup=redifArgumentAuthorPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
116 syntax match redifFieldAuthorSoftware /^Author-Software:/ skipwhite skipempty nextgroup=redifArgumentAuthorSoftware contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
117 syntax match redifFieldAuthorWorkplaceEmail /^Author-Workplace-Email:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
118 syntax match redifFieldAuthorWorkplaceFax /^Author-Workplace-Fax:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
119 syntax match redifFieldAuthorWorkplaceHomepage /^Author-Workplace-Homepage:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
120 syntax match redifFieldAuthorWorkplaceInstitution /^Author-Workplace-Institution:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
121 syntax match redifFieldAuthorWorkplaceLocation /^Author-Workplace-Location:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
122 syntax match redifFieldAuthorWorkplaceName /^Author-Workplace-Name:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
123 syntax match redifFieldAuthorWorkplaceNameEnglish /^Author-Workplace-Name-English:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplaceNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
124 syntax match redifFieldAuthorWorkplacePhone /^Author-Workplace-Phone:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplacePhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
125 syntax match redifFieldAuthorWorkplacePostal /^Author-Workplace-Postal:/ skipwhite skipempty nextgroup=redifArgumentAuthorWorkplacePostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
126 syntax match redifFieldAvailability /^Availability:/ skipwhite skipempty nextgroup=redifArgumentAvailability contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
127 syntax match redifFieldBookHandle /^Book-Handle:/ skipwhite skipempty nextgroup=redifArgumentBookHandle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
128 syntax match redifFieldBookTitle /^Book-Title:/ skipwhite skipempty nextgroup=redifArgumentBookTitle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
129 syntax match redifFieldChapterHandle /^Chapter-Handle:/ skipwhite skipempty nextgroup=redifArgumentChapterHandle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
130 syntax match redifFieldChapter /^Chapter:/ skipwhite skipempty nextgroup=redifArgumentChapter contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
131 syntax match redifFieldClassificationJEL /^Classification-JEL:/ skipwhite skipempty nextgroup=redifArgumentClassificationJEL contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
132 syntax match redifFieldContactEmail /^Contact-Email:/ skipwhite skipempty nextgroup=redifArgumentContactEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
133 syntax match redifFieldCreationDate /^Creation-Date:/ skipwhite skipempty nextgroup=redifArgumentCreationDate contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
134 syntax match redifFieldDescription /^Description:/ skipwhite skipempty nextgroup=redifArgumentDescription contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
135 syntax match redifFieldEdition /^Edition:/ skipwhite skipempty nextgroup=redifArgumentEdition contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
136 syntax match redifFieldEditorBook /^Editor-Book:/ skipwhite skipempty nextgroup=redifArgumentEditorBook contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
137 syntax match redifFieldEditorEmail /^Editor-Email:/ skipwhite skipempty nextgroup=redifArgumentEditorEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
138 syntax match redifFieldEditorFax /^Editor-Fax:/ skipwhite skipempty nextgroup=redifArgumentEditorFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
139 syntax match redifFieldEditorHomepage /^Editor-Homepage:/ skipwhite skipempty nextgroup=redifArgumentEditorHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
140 syntax match redifFieldEditorName /^Editor-Name:/ skipwhite skipempty nextgroup=redifArgumentEditorName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
141 syntax match redifFieldEditorNameFirst /^Editor-Name-First:/ skipwhite skipempty nextgroup=redifArgumentEditorNameFirst contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
142 syntax match redifFieldEditorNameLast /^Editor-Name-Last:/ skipwhite skipempty nextgroup=redifArgumentEditorNameLast contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
143 syntax match redifFieldEditorPerson /^Editor-Person:/ skipwhite skipempty nextgroup=redifArgumentEditorPerson contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
144 syntax match redifFieldEditorPhone /^Editor-Phone:/ skipwhite skipempty nextgroup=redifArgumentEditorPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
145 syntax match redifFieldEditorPostal /^Editor-Postal:/ skipwhite skipempty nextgroup=redifArgumentEditorPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
146 syntax match redifFieldEditorSeries /^Editor-Series:/ skipwhite skipempty nextgroup=redifArgumentEditorSeries contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
147 syntax match redifFieldEditorWorkplaceEmail /^Editor-Workplace-Email:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
148 syntax match redifFieldEditorWorkplaceFax /^Editor-Workplace-Fax:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
149 syntax match redifFieldEditorWorkplaceHomepage /^Editor-Workplace-Homepage:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
150 syntax match redifFieldEditorWorkplaceInstitution /^Editor-Workplace-Institution:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
151 syntax match redifFieldEditorWorkplaceLocation /^Editor-Workplace-Location:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
152 syntax match redifFieldEditorWorkplaceName /^Editor-Workplace-Name:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
153 syntax match redifFieldEditorWorkplaceNameEnglish /^Editor-Workplace-Name-English:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplaceNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
154 syntax match redifFieldEditorWorkplacePhone /^Editor-Workplace-Phone:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplacePhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
155 syntax match redifFieldEditorWorkplacePostal /^Editor-Workplace-Postal:/ skipwhite skipempty nextgroup=redifArgumentEditorWorkplacePostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
156 syntax match redifFieldEmail /^Email:/ skipwhite skipempty nextgroup=redifArgumentEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
157 syntax match redifFieldFax /^Fax:/ skipwhite skipempty nextgroup=redifArgumentFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
158 syntax match redifFieldFileFormat /^File-Format:/ skipwhite skipempty nextgroup=redifArgumentFileFormat contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
159 syntax match redifFieldFileFunction /^File-Function:/ skipwhite skipempty nextgroup=redifArgumentFileFunction contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
160 syntax match redifFieldFileRestriction /^File-Restriction:/ skipwhite skipempty nextgroup=redifArgumentFileRestriction contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
161 syntax match redifFieldFileSize /^File-Size:/ skipwhite skipempty nextgroup=redifArgumentFileSize contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
162 syntax match redifFieldFileURL /^File-URL:/ skipwhite skipempty nextgroup=redifArgumentFileURL contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
163 syntax match redifFieldFollowup /^Followup:/ skipwhite skipempty nextgroup=redifArgumentFollowup contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
164 syntax match redifFieldHandleOfArchive /^Handle:/ skipwhite skipempty nextgroup=redifArgumentHandleOfArchive contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
165 syntax match redifFieldHandleOfInstitution /^Handle:/ skipwhite skipempty nextgroup=redifArgumentHandleOfInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
166 syntax match redifFieldHandleOfPerson /^Handle:/ skipwhite skipempty nextgroup=redifArgumentHandleOfPerson contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
167 syntax match redifFieldHandleOfSeries /^Handle:/ skipwhite skipempty nextgroup=redifArgumentHandleOfSeries contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
168 syntax match redifFieldHandleOfWork /^Handle:/ skipwhite skipempty nextgroup=redifArgumentHandleOfWork contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
169 syntax match redifFieldHasChapter /^HasChapter:/ skipwhite skipempty nextgroup=redifArgumentHasChapter contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
170 syntax match redifFieldHomepage /^Homepage:/ skipwhite skipempty nextgroup=redifArgumentHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
171 syntax match redifFieldInBook /^In-Book:/ skipwhite skipempty nextgroup=redifArgumentInBook contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
172 syntax match redifFieldISBN /^ISBN:/ skipwhite skipempty nextgroup=redifArgumentISBN contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
173 syntax match redifFieldISSN /^ISSN:/ skipwhite skipempty nextgroup=redifArgumentISSN contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
174 syntax match redifFieldIssue /^Issue:/ skipwhite skipempty nextgroup=redifArgumentIssue contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
175 syntax match redifFieldJournal /^Journal:/ skipwhite skipempty nextgroup=redifArgumentJournal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
176 syntax match redifFieldKeywords /^Keywords:/ skipwhite skipempty nextgroup=redifArgumentKeywords contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
177 syntax match redifFieldKeywords /^Keywords:/ skipwhite skipempty nextgroup=redifArgumentKeywords contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
178 syntax match redifFieldLanguage /^Language:/ skipwhite skipempty nextgroup=redifArgumentLanguage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
179 syntax match redifFieldLastLoginDate /^Last-Login-Date:/ skipwhite skipempty nextgroup=redifArgumentLastLoginDate contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
180 syntax match redifFieldLength /^Length:/ skipwhite skipempty nextgroup=redifArgumentLength contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
181 syntax match redifFieldMaintainerEmail /^Maintainer-Email:/ skipwhite skipempty nextgroup=redifArgumentMaintainerEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
182 syntax match redifFieldMaintainerFax /^Maintainer-Fax:/ skipwhite skipempty nextgroup=redifArgumentMaintainerFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
183 syntax match redifFieldMaintainerName /^Maintainer-Name:/ skipwhite skipempty nextgroup=redifArgumentMaintainerName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
184 syntax match redifFieldMaintainerPhone /^Maintainer-Phone:/ skipwhite skipempty nextgroup=redifArgumentMaintainerPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
185 syntax match redifFieldMonth /^Month:/ skipwhite skipempty nextgroup=redifArgumentMonth contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
186 syntax match redifFieldNameASCII /^Name-ASCII:/ skipwhite skipempty nextgroup=redifArgumentNameASCII contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
187 syntax match redifFieldNameFirst /^Name-First:/ skipwhite skipempty nextgroup=redifArgumentNameFirst contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
188 syntax match redifFieldNameFull /^Name-Full:/ skipwhite skipempty nextgroup=redifArgumentNameFull contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
189 syntax match redifFieldNameLast /^Name-Last:/ skipwhite skipempty nextgroup=redifArgumentNameLast contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
190 syntax match redifFieldNameMiddle /^Name-Middle:/ skipwhite skipempty nextgroup=redifArgumentNameMiddle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
191 syntax match redifFieldNamePrefix /^Name-Prefix:/ skipwhite skipempty nextgroup=redifArgumentNamePrefix contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
192 syntax match redifFieldNameSuffix /^Name-Suffix:/ skipwhite skipempty nextgroup=redifArgumentNameSuffix contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
193 syntax match redifFieldName /^Name:/ skipwhite skipempty nextgroup=redifArgumentName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
194 syntax match redifFieldNote /^Note:/ skipwhite skipempty nextgroup=redifArgumentNote contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
195 syntax match redifFieldNotification /^Notification:/ skipwhite skipempty nextgroup=redifArgumentNotification contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
196 syntax match redifFieldNumber /^Number:/ skipwhite skipempty nextgroup=redifArgumentNumber contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
197 syntax match redifFieldOrderEmail /^Order-Email:/ skipwhite skipempty nextgroup=redifArgumentOrderEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
198 syntax match redifFieldOrderHomepage /^Order-Homepage:/ skipwhite skipempty nextgroup=redifArgumentOrderHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
199 syntax match redifFieldOrderPostal /^Order-Postal:/ skipwhite skipempty nextgroup=redifArgumentOrderPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
200 syntax match redifFieldOrderURL /^Order-URL:/ skipwhite skipempty nextgroup=redifArgumentOrderURL contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
201 syntax match redifFieldPages /^Pages:/ skipwhite skipempty nextgroup=redifArgumentPages contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
202 syntax match redifFieldPaperHandle /^Paper-Handle:/ skipwhite skipempty nextgroup=redifArgumentPaperHandle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
203 syntax match redifFieldPhone /^Phone:/ skipwhite skipempty nextgroup=redifArgumentPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
204 syntax match redifFieldPostal /^Postal:/ skipwhite skipempty nextgroup=redifArgumentPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
205 syntax match redifFieldPredecessor /^Predecessor:/ skipwhite skipempty nextgroup=redifArgumentPredecessor contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
206 syntax match redifFieldPrice /^Price:/ skipwhite skipempty nextgroup=redifArgumentPrice contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
207 syntax match redifFieldPrimaryDefunct /^Primary-Defunct:/ skipwhite skipempty nextgroup=redifArgumentPrimaryDefunct contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
208 syntax match redifFieldPrimaryEmail /^Primary-Email:/ skipwhite skipempty nextgroup=redifArgumentPrimaryEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
209 syntax match redifFieldPrimaryFax /^Primary-Fax:/ skipwhite skipempty nextgroup=redifArgumentPrimaryFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
210 syntax match redifFieldPrimaryHomepage /^Primary-Homepage:/ skipwhite skipempty nextgroup=redifArgumentPrimaryHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
211 syntax match redifFieldPrimaryInstitution /^Primary-Institution:/ skipwhite skipempty nextgroup=redifArgumentPrimaryInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
212 syntax match redifFieldPrimaryLocation /^Primary-Location:/ skipwhite skipempty nextgroup=redifArgumentPrimaryLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
213 syntax match redifFieldPrimaryName /^Primary-Name:/ skipwhite skipempty nextgroup=redifArgumentPrimaryName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
214 syntax match redifFieldPrimaryNameEnglish /^Primary-Name-English:/ skipwhite skipempty nextgroup=redifArgumentPrimaryNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
215 syntax match redifFieldPrimaryPhone /^Primary-Phone:/ skipwhite skipempty nextgroup=redifArgumentPrimaryPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
216 syntax match redifFieldPrimaryPostal /^Primary-Postal:/ skipwhite skipempty nextgroup=redifArgumentPrimaryPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
217 syntax match redifFieldProgrammingLanguage /^Programming-Language:/ skipwhite skipempty nextgroup=redifArgumentProgrammingLanguage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
218 syntax match redifFieldProviderEmail /^Provider-Email:/ skipwhite skipempty nextgroup=redifArgumentProviderEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
219 syntax match redifFieldProviderFax /^Provider-Fax:/ skipwhite skipempty nextgroup=redifArgumentProviderFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
220 syntax match redifFieldProviderHomepage /^Provider-Homepage:/ skipwhite skipempty nextgroup=redifArgumentProviderHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
221 syntax match redifFieldProviderInstitution /^Provider-Institution:/ skipwhite skipempty nextgroup=redifArgumentProviderInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
222 syntax match redifFieldProviderLocation /^Provider-Location:/ skipwhite skipempty nextgroup=redifArgumentProviderLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
223 syntax match redifFieldProviderName /^Provider-Name:/ skipwhite skipempty nextgroup=redifArgumentProviderName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
224 syntax match redifFieldProviderNameEnglish /^Provider-Name-English:/ skipwhite skipempty nextgroup=redifArgumentProviderNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
225 syntax match redifFieldProviderPhone /^Provider-Phone:/ skipwhite skipempty nextgroup=redifArgumentProviderPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
226 syntax match redifFieldProviderPostal /^Provider-Postal:/ skipwhite skipempty nextgroup=redifArgumentProviderPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
227 syntax match redifFieldPublicationDate /^Publication-Date:/ skipwhite skipempty nextgroup=redifArgumentPublicationDate contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
228 syntax match redifFieldPublicationStatus /^Publication-Status:/ skipwhite skipempty nextgroup=redifArgumentPublicationStatus contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
229 syntax match redifFieldPublicationType /^Publication-Type:/ skipwhite skipempty nextgroup=redifArgumentPublicationType contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
230 syntax match redifFieldQuaternaryEmail /^Quaternary-Email:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
231 syntax match redifFieldQuaternaryFax /^Quaternary-Fax:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
232 syntax match redifFieldQuaternaryHomepage /^Quaternary-Homepage:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
233 syntax match redifFieldQuaternaryInstitution /^Quaternary-Institution:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
234 syntax match redifFieldQuaternaryLocation /^Quaternary-Location:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
235 syntax match redifFieldQuaternaryName /^Quaternary-Name:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
236 syntax match redifFieldQuaternaryNameEnglish /^Quaternary-Name-English:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
237 syntax match redifFieldQuaternaryPhone /^Quaternary-Phone:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
238 syntax match redifFieldQuaternaryPostal /^Quaternary-Postal:/ skipwhite skipempty nextgroup=redifArgumentQuaternaryPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
239 syntax match redifFieldRegisteredDate /^Registered-Date:/ skipwhite skipempty nextgroup=redifArgumentRegisteredDate contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
240 syntax match redifFieldRequires /^Requires:/ skipwhite skipempty nextgroup=redifArgumentRequires contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
241 syntax match redifFieldRestriction /^Restriction:/ skipwhite skipempty nextgroup=redifArgumentRestriction contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
242 syntax match redifFieldRevisionDate /^Revision-Date:/ skipwhite skipempty nextgroup=redifArgumentRevisionDate contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
243 syntax match redifFieldSecondaryDefunct /^Secondary-Defunct:/ skipwhite skipempty nextgroup=redifArgumentSecondaryDefunct contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
244 syntax match redifFieldSecondaryEmail /^Secondary-Email:/ skipwhite skipempty nextgroup=redifArgumentSecondaryEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
245 syntax match redifFieldSecondaryFax /^Secondary-Fax:/ skipwhite skipempty nextgroup=redifArgumentSecondaryFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
246 syntax match redifFieldSecondaryHomepage /^Secondary-Homepage:/ skipwhite skipempty nextgroup=redifArgumentSecondaryHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
247 syntax match redifFieldSecondaryInstitution /^Secondary-Institution:/ skipwhite skipempty nextgroup=redifArgumentSecondaryInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
248 syntax match redifFieldSecondaryLocation /^Secondary-Location:/ skipwhite skipempty nextgroup=redifArgumentSecondaryLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
249 syntax match redifFieldSecondaryName /^Secondary-Name:/ skipwhite skipempty nextgroup=redifArgumentSecondaryName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
250 syntax match redifFieldSecondaryNameEnglish /^Secondary-Name-English:/ skipwhite skipempty nextgroup=redifArgumentSecondaryNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
251 syntax match redifFieldSecondaryPhone /^Secondary-Phone:/ skipwhite skipempty nextgroup=redifArgumentSecondaryPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
252 syntax match redifFieldSecondaryPostal /^Secondary-Postal:/ skipwhite skipempty nextgroup=redifArgumentSecondaryPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
253 syntax match redifFieldSeries /^Series:/ skipwhite skipempty nextgroup=redifArgumentSeries contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
254 syntax match redifFieldShortId /^Short-Id:/ skipwhite skipempty nextgroup=redifArgumentShortId contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
255 syntax match redifFieldSize /^Size:/ skipwhite skipempty nextgroup=redifArgumentSize contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
256 syntax match redifFieldSoftwareHandle /^Software-Handle:/ skipwhite skipempty nextgroup=redifArgumentSoftwareHandle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
257 syntax match redifFieldTemplateType /^Template-Type:/ skipwhite skipempty nextgroup=redifArgumentTemplateType contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
258 syntax match redifFieldTertiaryDefunct /^Tertiary-Defunct:/ skipwhite skipempty nextgroup=redifArgumentTertiaryDefunct contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
259 syntax match redifFieldTertiaryEmail /^Tertiary-Email:/ skipwhite skipempty nextgroup=redifArgumentTertiaryEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
260 syntax match redifFieldTertiaryFax /^Tertiary-Fax:/ skipwhite skipempty nextgroup=redifArgumentTertiaryFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
261 syntax match redifFieldTertiaryHomepage /^Tertiary-Homepage:/ skipwhite skipempty nextgroup=redifArgumentTertiaryHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
262 syntax match redifFieldTertiaryInstitution /^Tertiary-Institution:/ skipwhite skipempty nextgroup=redifArgumentTertiaryInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
263 syntax match redifFieldTertiaryLocation /^Tertiary-Location:/ skipwhite skipempty nextgroup=redifArgumentTertiaryLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
264 syntax match redifFieldTertiaryName /^Tertiary-Name:/ skipwhite skipempty nextgroup=redifArgumentTertiaryName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
265 syntax match redifFieldTertiaryNameEnglish /^Tertiary-Name-English:/ skipwhite skipempty nextgroup=redifArgumentTertiaryNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
266 syntax match redifFieldTertiaryPhone /^Tertiary-Phone:/ skipwhite skipempty nextgroup=redifArgumentTertiaryPhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
267 syntax match redifFieldTertiaryPostal /^Tertiary-Postal:/ skipwhite skipempty nextgroup=redifArgumentTertiaryPostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
268 syntax match redifFieldTitle /^Title:/ skipwhite skipempty nextgroup=redifArgumentTitle contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
269 syntax match redifFieldType /^Type:/ skipwhite skipempty nextgroup=redifArgumentType contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
270 syntax match redifFieldURL /^URL:/ skipwhite skipempty nextgroup=redifArgumentURL contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
271 syntax match redifFieldVersion /^Version:/ skipwhite skipempty nextgroup=redifArgumentVersion contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
272 syntax match redifFieldVolume /^Volume:/ skipwhite skipempty nextgroup=redifArgumentVolume contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
273 syntax match redifFieldWorkplaceEmail /^Workplace-Email:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceEmail contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
274 syntax match redifFieldWorkplaceFax /^Workplace-Fax:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceFax contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
275 syntax match redifFieldWorkplaceHomepage /^Workplace-Homepage:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceHomepage contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
276 syntax match redifFieldWorkplaceInstitution /^Workplace-Institution:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceInstitution contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
277 syntax match redifFieldWorkplaceLocation /^Workplace-Location:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceLocation contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
278 syntax match redifFieldWorkplaceName /^Workplace-Name:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceName contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
279 syntax match redifFieldWorkplaceNameEnglish /^Workplace-Name-English:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceNameEnglish contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
280 syntax match redifFieldWorkplaceOrganization /^Workplace-Organization:/ skipwhite skipempty nextgroup=redifArgumentWorkplaceOrganization contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
281 syntax match redifFieldWorkplacePhone /^Workplace-Phone:/ skipwhite skipempty nextgroup=redifArgumentWorkplacePhone contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
282 syntax match redifFieldWorkplacePostal /^Workplace-Postal:/ skipwhite skipempty nextgroup=redifArgumentWorkplacePostal contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
283 syntax match redifFieldYear /^Year:/ skipwhite skipempty nextgroup=redifArgumentYear contained |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
284 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
285 highlight def link redifFieldAbstract redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
286 highlight def link redifFieldArticleHandle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
287 highlight def link redifFieldAuthorArticle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
288 highlight def link redifFieldAuthorBook redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
289 highlight def link redifFieldAuthorChapter redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
290 highlight def link redifFieldAuthorEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
291 highlight def link redifFieldAuthorFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
292 highlight def link redifFieldAuthorHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
293 highlight def link redifFieldAuthorName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
294 highlight def link redifFieldAuthorNameFirst redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
295 highlight def link redifFieldAuthorNameLast redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
296 highlight def link redifFieldAuthorPaper redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
297 highlight def link redifFieldAuthorPerson redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
298 highlight def link redifFieldAuthorPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
299 highlight def link redifFieldAuthorPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
300 highlight def link redifFieldAuthorSoftware redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
301 highlight def link redifFieldAuthorWorkplaceEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
302 highlight def link redifFieldAuthorWorkplaceFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
303 highlight def link redifFieldAuthorWorkplaceHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
304 highlight def link redifFieldAuthorWorkplaceInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
305 highlight def link redifFieldAuthorWorkplaceLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
306 highlight def link redifFieldAuthorWorkplaceName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
307 highlight def link redifFieldAuthorWorkplaceNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
308 highlight def link redifFieldAuthorWorkplacePhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
309 highlight def link redifFieldAuthorWorkplacePostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
310 highlight def link redifFieldAvailability redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
311 highlight def link redifFieldBookHandle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
312 highlight def link redifFieldBookTitle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
313 highlight def link redifFieldChapterHandle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
314 highlight def link redifFieldChapter redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
315 highlight def link redifFieldClassificationJEL redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
316 highlight def link redifFieldContactEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
317 highlight def link redifFieldCreationDate redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
318 highlight def link redifFieldDescription redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
319 highlight def link redifFieldEdition redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
320 highlight def link redifFieldEditorBook redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
321 highlight def link redifFieldEditorEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
322 highlight def link redifFieldEditorFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
323 highlight def link redifFieldEditorHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
324 highlight def link redifFieldEditorName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
325 highlight def link redifFieldEditorNameFirst redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
326 highlight def link redifFieldEditorNameLast redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
327 highlight def link redifFieldEditorPerson redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
328 highlight def link redifFieldEditorPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
329 highlight def link redifFieldEditorPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
330 highlight def link redifFieldEditorSeries redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
331 highlight def link redifFieldEditorWorkplaceEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
332 highlight def link redifFieldEditorWorkplaceFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
333 highlight def link redifFieldEditorWorkplaceHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
334 highlight def link redifFieldEditorWorkplaceInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
335 highlight def link redifFieldEditorWorkplaceLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
336 highlight def link redifFieldEditorWorkplaceName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
337 highlight def link redifFieldEditorWorkplaceNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
338 highlight def link redifFieldEditorWorkplacePhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
339 highlight def link redifFieldEditorWorkplacePostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
340 highlight def link redifFieldEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
341 highlight def link redifFieldFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
342 highlight def link redifFieldFileFormat redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
343 highlight def link redifFieldFileFunction redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
344 highlight def link redifFieldFileRestriction redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
345 highlight def link redifFieldFileSize redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
346 highlight def link redifFieldFileURL redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
347 highlight def link redifFieldFollowup redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
348 highlight def link redifFieldHandleOfArchive redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
349 highlight def link redifFieldHandleOfInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
350 highlight def link redifFieldHandleOfPerson redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
351 highlight def link redifFieldHandleOfSeries redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
352 highlight def link redifFieldHandleOfWork redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
353 highlight def link redifFieldHasChapter redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
354 highlight def link redifFieldHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
355 highlight def link redifFieldInBook redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
356 highlight def link redifFieldISBN redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
357 highlight def link redifFieldISSN redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
358 highlight def link redifFieldIssue redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
359 highlight def link redifFieldJournal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
360 highlight def link redifFieldKeywords redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
361 highlight def link redifFieldKeywords redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
362 highlight def link redifFieldLanguage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
363 highlight def link redifFieldLastLoginDate redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
364 highlight def link redifFieldLength redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
365 highlight def link redifFieldMaintainerEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
366 highlight def link redifFieldMaintainerFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
367 highlight def link redifFieldMaintainerName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
368 highlight def link redifFieldMaintainerPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
369 highlight def link redifFieldMonth redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
370 highlight def link redifFieldNameASCII redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
371 highlight def link redifFieldNameFirst redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
372 highlight def link redifFieldNameFull redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
373 highlight def link redifFieldNameLast redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
374 highlight def link redifFieldNameMiddle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
375 highlight def link redifFieldNamePrefix redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
376 highlight def link redifFieldNameSuffix redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
377 highlight def link redifFieldName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
378 highlight def link redifFieldNote redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
379 highlight def link redifFieldNotification redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
380 highlight def link redifFieldNumber redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
381 highlight def link redifFieldOrderEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
382 highlight def link redifFieldOrderHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
383 highlight def link redifFieldOrderPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
384 highlight def link redifFieldOrderURL redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
385 highlight def link redifFieldPages redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
386 highlight def link redifFieldPaperHandle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
387 highlight def link redifFieldPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
388 highlight def link redifFieldPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
389 highlight def link redifFieldPredecessor redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
390 highlight def link redifFieldPrice redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
391 highlight def link redifFieldPrimaryDefunct redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
392 highlight def link redifFieldPrimaryEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
393 highlight def link redifFieldPrimaryFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
394 highlight def link redifFieldPrimaryHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
395 highlight def link redifFieldPrimaryInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
396 highlight def link redifFieldPrimaryLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
397 highlight def link redifFieldPrimaryName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
398 highlight def link redifFieldPrimaryNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
399 highlight def link redifFieldPrimaryPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
400 highlight def link redifFieldPrimaryPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
401 highlight def link redifFieldProgrammingLanguage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
402 highlight def link redifFieldProviderEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
403 highlight def link redifFieldProviderFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
404 highlight def link redifFieldProviderHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
405 highlight def link redifFieldProviderInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
406 highlight def link redifFieldProviderLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
407 highlight def link redifFieldProviderName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
408 highlight def link redifFieldProviderNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
409 highlight def link redifFieldProviderPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
410 highlight def link redifFieldProviderPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
411 highlight def link redifFieldPublicationDate redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
412 highlight def link redifFieldPublicationStatus redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
413 highlight def link redifFieldPublicationType redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
414 highlight def link redifFieldQuaternaryEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
415 highlight def link redifFieldQuaternaryFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
416 highlight def link redifFieldQuaternaryHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
417 highlight def link redifFieldQuaternaryInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
418 highlight def link redifFieldQuaternaryLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
419 highlight def link redifFieldQuaternaryName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
420 highlight def link redifFieldQuaternaryNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
421 highlight def link redifFieldQuaternaryPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
422 highlight def link redifFieldQuaternaryPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
423 highlight def link redifFieldRegisteredDate redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
424 highlight def link redifFieldRequires redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
425 highlight def link redifFieldRestriction redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
426 highlight def link redifFieldRevisionDate redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
427 highlight def link redifFieldSecondaryDefunct redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
428 highlight def link redifFieldSecondaryEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
429 highlight def link redifFieldSecondaryFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
430 highlight def link redifFieldSecondaryHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
431 highlight def link redifFieldSecondaryInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
432 highlight def link redifFieldSecondaryLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
433 highlight def link redifFieldSecondaryName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
434 highlight def link redifFieldSecondaryNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
435 highlight def link redifFieldSecondaryPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
436 highlight def link redifFieldSecondaryPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
437 highlight def link redifFieldSeries redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
438 highlight def link redifFieldShortId redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
439 highlight def link redifFieldSize redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
440 highlight def link redifFieldSoftwareHandle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
441 highlight def link redifFieldTemplateType redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
442 highlight def link redifFieldTertiaryDefunct redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
443 highlight def link redifFieldTertiaryEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
444 highlight def link redifFieldTertiaryFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
445 highlight def link redifFieldTertiaryHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
446 highlight def link redifFieldTertiaryInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
447 highlight def link redifFieldTertiaryLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
448 highlight def link redifFieldTertiaryName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
449 highlight def link redifFieldTertiaryNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
450 highlight def link redifFieldTertiaryPhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
451 highlight def link redifFieldTertiaryPostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
452 highlight def link redifFieldTitle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
453 highlight def link redifFieldTitle redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
454 highlight def link redifFieldType redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
455 highlight def link redifFieldURL redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
456 highlight def link redifFieldVersion redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
457 highlight def link redifFieldVolume redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
458 highlight def link redifFieldWorkplaceEmail redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
459 highlight def link redifFieldWorkplaceFax redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
460 highlight def link redifFieldWorkplaceHomepage redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
461 highlight def link redifFieldWorkplaceInstitution redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
462 highlight def link redifFieldWorkplaceLocation redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
463 highlight def link redifFieldWorkplaceName redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
464 highlight def link redifFieldWorkplaceNameEnglish redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
465 highlight def link redifFieldWorkplaceOrganization redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
466 highlight def link redifFieldWorkplacePhone redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
467 highlight def link redifFieldWorkplacePostal redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
468 highlight def link redifFieldYear redifField |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
469 |
4278 | 470 " Deprecated |
471 " same as Provider-* | |
472 " nextgroup=redifArgumentProvider* | |
473 syntax match redifFieldPublisherEmail /^Publisher-Email:/ skipwhite skipempty nextgroup=redifArgumentProviderEmail contained | |
474 syntax match redifFieldPublisherFax /^Publisher-Fax:/ skipwhite skipempty nextgroup=redifArgumentProviderFax contained | |
475 syntax match redifFieldPublisherHomepage /^Publisher-Homepage:/ skipwhite skipempty nextgroup=redifArgumentProviderHomepage contained | |
476 syntax match redifFieldPublisherInstitution /^Publisher-Institution:/ skipwhite skipempty nextgroup=redifArgumentProviderInstitution contained | |
477 syntax match redifFieldPublisherLocation /^Publisher-Location:/ skipwhite skipempty nextgroup=redifArgumentProviderLocation contained | |
478 syntax match redifFieldPublisherName /^Publisher-Name:/ skipwhite skipempty nextgroup=redifArgumentProviderName contained | |
479 syntax match redifFieldPublisherNameEnglish /^Publisher-Name-English:/ skipwhite skipempty nextgroup=redifArgumentProviderNameEnglish contained | |
480 syntax match redifFieldPublisherPhone /^Publisher-Phone:/ skipwhite skipempty nextgroup=redifArgumentProviderPhone contained | |
481 syntax match redifFieldPublisherPostal /^Publisher-Postal:/ skipwhite skipempty nextgroup=redifArgumentProviderPostal contained | |
482 | |
483 highlight def link redifFieldPublisherEmail redifFieldDeprecated | |
484 highlight def link redifFieldPublisherFax redifFieldDeprecated | |
485 highlight def link redifFieldPublisherHomepage redifFieldDeprecated | |
486 highlight def link redifFieldPublisherInstitution redifFieldDeprecated | |
487 highlight def link redifFieldPublisherLocation redifFieldDeprecated | |
488 highlight def link redifFieldPublisherName redifFieldDeprecated | |
489 highlight def link redifFieldPublisherNameEnglish redifFieldDeprecated | |
490 highlight def link redifFieldPublisherPhone redifFieldDeprecated | |
491 highlight def link redifFieldPublisherPostal redifFieldDeprecated | |
492 | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
493 " Standard arguments |
4278 | 494 " By default, they contain all the argument until another field is started: |
495 " start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 | |
496 " For arguments that must not span more than one line, use a match: | |
497 " /\%(^\S\{-}:\)\@!\S.*/ | |
498 " AND ADD "display" | |
499 " This is faster. | |
500 " | |
501 " Those arguments are not highlighted so far. They are here for future | |
502 " extensions. | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
503 " TODO Find more RegEx for these arguments |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
504 " TODO Fax, Phone |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
505 " TODO URL, Homepage |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
506 " TODO Keywords |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
507 " TODO Classification-JEL |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
508 " TODO Short-Id, Author-Person, Editor-Person |
4278 | 509 " |
510 " Arguments that may span several lines: | |
511 syntax region redifArgumentAuthorWorkplaceLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
512 syntax region redifArgumentAuthorWorkplacePostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
513 syntax region redifArgumentEditorPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
514 syntax region redifArgumentEditorWorkplacePostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
515 syntax region redifArgumentFileFunction start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
516 syntax region redifArgumentIssue start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
517 syntax region redifArgumentJournal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
518 syntax region redifArgumentOrderPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
519 syntax region redifArgumentPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
520 syntax region redifArgumentPrice start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
521 syntax region redifArgumentPrimaryLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
522 syntax region redifArgumentPrimaryPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
523 syntax region redifArgumentProviderLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
524 syntax region redifArgumentProviderPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
525 syntax region redifArgumentQuaternaryLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
526 syntax region redifArgumentQuaternaryPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
527 syntax region redifArgumentRequires start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
528 syntax region redifArgumentSecondaryLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
529 syntax region redifArgumentSecondaryPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
530 syntax region redifArgumentSize start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
531 syntax region redifArgumentTertiaryLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
532 syntax region redifArgumentTertiaryPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
533 syntax region redifArgumentVersion start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
534 syntax region redifArgumentWorkplaceLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
535 syntax region redifArgumentWorkplacePhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
536 syntax region redifArgumentWorkplacePostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
537 | |
538 " Arguments that may not span several lines: | |
539 " If you are sure that these arguments cannot span several lines, change | |
540 " them to a match: | |
541 " /\%(^\S\{-}:\)\@!\S.*/ | |
542 " AND ADD "display" after "contained" | |
543 " You can use this command on each line that you want to change: | |
544 " :s+\Vregion \(\w\+\) start=/\\%(^\\S\\{-}:\\)\\@!\\S/ end=/^\\S\\{-}:/me=s-1 contained+match \1 /\\%(^\\S\\{-}:\\)\\@!\\S.*/ contained display | |
545 syntax region redifArgumentAuthorFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
546 syntax region redifArgumentAuthorHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
547 syntax region redifArgumentAuthorName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
548 syntax region redifArgumentAuthorNameFirst start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
549 syntax region redifArgumentAuthorNameLast start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
550 syntax region redifArgumentAuthorPerson start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
551 syntax region redifArgumentAuthorPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
552 syntax region redifArgumentAuthorPostal start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
553 syntax region redifArgumentAuthorWorkplaceFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
554 syntax region redifArgumentAuthorWorkplaceHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
555 syntax region redifArgumentAuthorWorkplaceName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
556 syntax region redifArgumentAuthorWorkplaceNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
557 syntax region redifArgumentAuthorWorkplacePhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
558 syntax region redifArgumentEditorFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
559 syntax region redifArgumentEditorHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
560 syntax region redifArgumentEditorName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
561 syntax region redifArgumentEditorNameFirst start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
562 syntax region redifArgumentEditorNameLast start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
563 syntax region redifArgumentEditorPerson start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
564 syntax region redifArgumentEditorPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
565 syntax region redifArgumentEditorWorkplaceFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
566 syntax region redifArgumentEditorWorkplaceHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
567 syntax region redifArgumentEditorWorkplaceLocation start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
568 syntax region redifArgumentEditorWorkplaceName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
569 syntax region redifArgumentEditorWorkplaceNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
570 syntax region redifArgumentEditorWorkplacePhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
571 syntax region redifArgumentFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
572 syntax region redifArgumentFileURL start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
573 syntax region redifArgumentHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
574 syntax region redifArgumentMaintainerFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
575 syntax region redifArgumentMaintainerName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
576 syntax region redifArgumentMaintainerPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
577 syntax region redifArgumentNameFirst start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
578 syntax region redifArgumentNameFull start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
579 syntax region redifArgumentNameLast start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
580 syntax region redifArgumentNameMiddle start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
581 syntax region redifArgumentNamePrefix start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
582 syntax region redifArgumentNameSuffix start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
583 syntax region redifArgumentName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
4339 | 584 syntax region redifArgumentNumber start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained |
4278 | 585 syntax region redifArgumentOrderHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained |
586 syntax region redifArgumentOrderURL start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
587 syntax region redifArgumentPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
588 syntax region redifArgumentPrimaryFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
589 syntax region redifArgumentPrimaryHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
590 syntax region redifArgumentPrimaryName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
591 syntax region redifArgumentPrimaryNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
592 syntax region redifArgumentPrimaryPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
593 syntax region redifArgumentProviderFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
594 syntax region redifArgumentProviderHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
595 syntax region redifArgumentProviderName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
596 syntax region redifArgumentProviderNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
597 syntax region redifArgumentProviderPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
598 syntax region redifArgumentQuaternaryFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
599 syntax region redifArgumentQuaternaryHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
600 syntax region redifArgumentQuaternaryName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
601 syntax region redifArgumentQuaternaryNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
602 syntax region redifArgumentQuaternaryPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
603 syntax region redifArgumentSecondaryFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
604 syntax region redifArgumentSecondaryHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
605 syntax region redifArgumentSecondaryName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
606 syntax region redifArgumentSecondaryNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
607 syntax region redifArgumentSecondaryPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
608 syntax region redifArgumentSeries start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
609 syntax region redifArgumentShortId start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
610 syntax region redifArgumentTertiaryFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
611 syntax region redifArgumentTertiaryHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
612 syntax region redifArgumentTertiaryName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
613 syntax region redifArgumentTertiaryNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
614 syntax region redifArgumentTertiaryPhone start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
615 syntax region redifArgumentURL start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
616 syntax region redifArgumentWorkplaceFax start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
617 syntax region redifArgumentWorkplaceHomepage start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
618 syntax region redifArgumentWorkplaceName start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
619 syntax region redifArgumentWorkplaceNameEnglish start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
620 syntax region redifArgumentWorkplaceOrganization start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contained | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
621 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
622 " Special arguments |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
623 " Those arguments require special values |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
624 " TODO Improve some RegEx |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
625 " TODO Improve Emails |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
626 " TODO Improve ISBN |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
627 " TODO Improve ISSN |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
628 " TODO Improve spell check (add words from economics. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
629 " expl=macroeconometrics, Schumpeterian, IS-LM, etc.) |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
630 " |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
631 " Template-Type |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
632 syntax match redifArgumentTemplateType /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectTemplateType contained display |
4278 | 633 syntax match redifCorrectTemplateType /ReDIF-\%(Paper\|Article\|Chapter\|Book\|Software\|Archive\|Series\|Institution\|Person\)/ nextgroup=redifTemplateVersionNumberContainer contained display |
634 syntax match redifTemplateVersionNumberContainer /.\+/ contains=redifTemplateVersionNumber contained display | |
635 syntax match redifTemplateVersionNumber / \d\+\.\d\+/ nextgroup=redifWrongLineEnding contained display | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
636 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
637 highlight def link redifArgumentTemplateType redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
638 highlight def link redifCorrectTemplateType Constant |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
639 highlight def link redifTemplateVersionNumber Number |
4278 | 640 highlight def link redifTemplateVersionNumberContainer redifError |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
641 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
642 " Handles: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
643 " |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
644 " Handles of Works: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
645 syntax match redifArgumentHandleOfWork /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
646 syntax match redifArgumentAuthorArticle /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
647 syntax match redifArgumentAuthorBook /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
648 syntax match redifArgumentAuthorChapter /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
649 syntax match redifArgumentAuthorPaper /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
650 syntax match redifArgumentAuthorSoftware /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
651 syntax match redifArgumentEditorBook /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
652 syntax match redifArgumentEditorSeries /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
653 syntax match redifArgumentInBook /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
654 syntax match redifArgumentHasChapter /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
655 syntax match redifArgumentArticleHandle /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
656 syntax match redifArgumentBookHandle /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
657 syntax match redifArgumentChapterHandle /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
658 syntax match redifArgumentPaperHandle /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
659 syntax match redifArgumentSoftwareHandle /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfWork contained display |
4278 | 660 syntax match redifCorrectHandleOfWork /RePEc:\a\a\a:\%(_\@!\w\)\{6}:\S\+/ contains=redifForbiddenCharactersInHandle,redifBestPracticeInHandle nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
661 " TODO Are those characters really forbidden??? |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
662 syntax match redifForbiddenCharactersInHandle /[\/*?"<>|]/ contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
663 syntax match redifBestPracticeInHandle /\<\%([vi]:[1-9]\d*\|y:[1-9]\d\{3}\|p:[1-9]\d*-[1-9]\d*\|i:\%(jan\|feb\|mar\|apr\|may\|jun\|jul\|aug\|sep\|oct\|nov\|dec\|spr\|sum\|aut\|win\|spe\|Q[1-4]\|\d\d-\d\d\)\|Q:[1-4]\)\>/ contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
664 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
665 highlight def link redifArgumentHandleOfWork redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
666 highlight def link redifArgumentAuthorArticle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
667 highlight def link redifArgumentAuthorBook redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
668 highlight def link redifArgumentAuthorChapter redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
669 highlight def link redifArgumentAuthorPaper redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
670 highlight def link redifArgumentAuthorSoftware redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
671 highlight def link redifArgumentEditorBook redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
672 highlight def link redifArgumentEditorSeries redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
673 highlight def link redifArgumentInBook redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
674 highlight def link redifArgumentHasChapter redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
675 highlight def link redifArgumentArticleHandle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
676 highlight def link redifArgumentBookHandle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
677 highlight def link redifArgumentChapterHandle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
678 highlight def link redifArgumentPaperHandle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
679 highlight def link redifArgumentSoftwareHandle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
680 highlight def link redifForbiddenCharactersInHandle redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
681 highlight def link redifBestPracticeInHandle redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
682 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
683 " Handles of Series: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
684 syntax match redifArgumentHandleOfSeries /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfSeries contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
685 syntax match redifArgumentFollowup /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfSeries contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
686 syntax match redifArgumentPredecessor /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfSeries contained display |
4278 | 687 syntax match redifCorrectHandleOfSeries /RePEc:\a\a\a:\%(_\@!\w\)\{6}/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
688 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
689 highlight def link redifArgumentHandleOfSeries redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
690 highlight def link redifArgumentFollowup redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
691 highlight def link redifArgumentPredecessor redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
692 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
693 " Handles of Archives: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
694 syntax match redifArgumentHandleOfArchive /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfArchive contained display |
4278 | 695 syntax match redifCorrectHandleOfArchive /RePEc:\a\a\a/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
696 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
697 highlight def link redifArgumentHandleOfArchive redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
698 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
699 " Handles of Person: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
700 syntax match redifArgumentHandleOfPerson /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfPerson contained display |
4278 | 701 syntax match redifCorrectHandleOfPerson /\%(\%(:\@!\S\)\{-}:\)\{2}[1-9]\d\{3}\%(-02\%(-[12]\d\|-0[1-9]\)\|-\%(0[469]\|11\)\%(-30\|-[12]\d\|-0[1-9]\)\|-\%(0[13578]\|1[02]\)\%(-3[01]\|-[12]\d\|-0[1-9]\)\):\S\+/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
702 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
703 highlight def link redifArgumentHandleOfPerson redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
704 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
705 " Handles of Institution: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
706 syntax match redifArgumentAuthorWorkplaceInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
707 syntax match redifArgumentEditorWorkplaceInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
708 syntax match redifArgumentPrimaryInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
709 syntax match redifArgumentProviderInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
710 syntax match redifArgumentPublisherInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
711 syntax match redifArgumentQuaternaryInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
712 syntax match redifArgumentSecondaryInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
713 syntax match redifArgumentTertiaryInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
714 syntax match redifArgumentWorkplaceInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
715 syntax match redifArgumentHandleOfInstitution /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
716 syntax match redifArgumentPrimaryDefunct /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
717 syntax match redifArgumentSecondaryDefunct /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
718 syntax match redifArgumentTertiaryDefunct /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectHandleOfInstitution contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
719 " TODO Are digits authorized? Apparently not. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
720 " Country codes: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
721 " http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm |
4278 | 722 syntax match redifCorrectHandleOfInstitution /RePEc:\a\a\a:\a\{5}\(ea\|af\|ax\|al\|dz\|as\|ad\|ao\|ai\|aq\|ag\|ar\|am\|aw\|au\|at\|az\|bs\|bh\|bd\|bb\|by\|be\|bz\|bj\|bm\|bt\|bo\|bq\|ba\|bw\|bv\|br\|io\|bn\|bg\|bf\|bi\|kh\|cm\|ca\|cv\|ky\|cf\|td\|cl\|cn\|cx\|cc\|co\|km\|cg\|cd\|ck\|cr\|ci\|hr\|cu\|cw\|cy\|cz\|dk\|dj\|dm\|do\|ec\|eg\|sv\|gq\|er\|ee\|et\|fk\|fo\|fj\|fi\|fr\|gf\|pf\|tf\|ga\|gm\|ge\|de\|gh\|gi\|gr\|gl\|gd\|gp\|gu\|gt\|gg\|gn\|gw\|gy\|ht\|hm\|va\|hn\|hk\|hu\|is\|in\|id\|ir\|iq\|ie\|im\|il\|it\|jm\|jp\|je\|jo\|kz\|ke\|ki\|kp\|kr\|kw\|kg\|la\|lv\|lb\|ls\|lr\|ly\|li\|lt\|lu\|mo\|mk\|mg\|mw\|my\|mv\|ml\|mt\|mh\|mq\|mr\|mu\|yt\|mx\|fm\|md\|mc\|mn\|me\|ms\|ma\|mz\|mm\|na\|nr\|np\|nl\|nc\|nz\|ni\|ne\|ng\|nu\|nf\|mp\|no\|om\|pk\|pw\|ps\|pa\|pg\|py\|pe\|ph\|pn\|pl\|pt\|pr\|qa\|re\|ro\|ru\|rw\|bl\|sh\|kn\|lc\|mf\|pm\|vc\|ws\|sm\|st\|sa\|sn\|rs\|sc\|sl\|sg\|sx\|sk\|si\|sb\|so\|za\|gs\|ss\|es\|lk\|sd\|sr\|sj\|sz\|se\|ch\|sy\|tw\|tj\|tz\|th\|tl\|tg\|tk\|to\|tt\|tn\|tr\|tm\|tc\|tv\|ug\|ua\|ae\|gb\|us\|um\|uy\|uz\|vu\|ve\|vn\|vg\|vi\|wf\|eh\|ye\|zm\|zw\)/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
723 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
724 highlight def link redifArgumentHandleOfInstitution redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
725 highlight def link redifArgumentPrimaryDefunct redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
726 highlight def link redifArgumentSecondaryDefunct redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
727 highlight def link redifArgumentTertiaryDefunct redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
728 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
729 " Emails: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
730 syntax match redifArgumentAuthorEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
731 syntax match redifArgumentAuthorWorkplaceEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
732 syntax match redifArgumentContactEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
733 syntax match redifArgumentEditorEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
734 syntax match redifArgumentEditorWorkplaceEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
735 syntax match redifArgumentEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
736 syntax match redifArgumentMaintainerEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
737 syntax match redifArgumentOrderEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
738 syntax match redifArgumentPrimaryEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
739 syntax match redifArgumentProviderEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
740 syntax match redifArgumentPublisherEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
741 syntax match redifArgumentQuaternaryEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
742 syntax match redifArgumentSecondaryEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
743 syntax match redifArgumentTertiaryEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
744 syntax match redifArgumentWorkplaceEmail /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectEmail contained display |
4278 | 745 syntax match redifCorrectEmail /\%(@\@!\S\)\+@\%(@\@!\S\)\+/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
746 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
747 highlight def link redifArgumentAuthorEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
748 highlight def link redifArgumentAuthorWorkplaceEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
749 highlight def link redifArgumentContactEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
750 highlight def link redifArgumentEditorEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
751 highlight def link redifArgumentEditorWorkplaceEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
752 highlight def link redifArgumentEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
753 highlight def link redifArgumentMaintainerEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
754 highlight def link redifArgumentOrderEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
755 highlight def link redifArgumentPrimaryEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
756 highlight def link redifArgumentProviderEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
757 highlight def link redifArgumentPublisherEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
758 highlight def link redifArgumentQuaternaryEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
759 highlight def link redifArgumentSecondaryEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
760 highlight def link redifArgumentTertiaryEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
761 highlight def link redifArgumentWorkplaceEmail redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
762 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
763 " Language |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
764 " Source: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
765 syntax match redifArgumentLanguage /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectLanguage contained display |
4278 | 766 syntax match redifCorrectLanguage /\<\(aa\|ab\|af\|ak\|als\|am\|an\|ang\|ar\|arc\|as\|ast\|av\|ay\|az\|ba\|bar\|bat-smg\|bcl\|be\|be-x-old\|bg\|bh\|bi\|bm\|bn\|bo\|bpy\|br\|bs\|bug\|bxr\|ca\|ce\|ceb\|ch\|cho\|chr\|chy\|co\|cr\|cs\|csb\|cu\|cv\|cy\|da\|de\|diq\|dsb\|dv\|dz\|ee\|el\|en\|eo\|es\|et\|eu\|ext\|fa\|ff\|fi\|fiu-vro\|fj\|fo\|fr\|frp\|fur\|fy\|ga\|gd\|gil\|gl\|gn\|got\|gu\|gv\|ha\|haw\|he\|hi\|ho\|hr\|ht\|hu\|hy\|hz\|ia\|id\|ie\|ig\|ii\|ik\|ilo\|io\|is\|it\|iu\|ja\|jbo\|jv\|ka\|kg\|ki\|kj\|kk\|kl\|km\|kn\|khw\|ko\|kr\|ks\|ksh\|ku\|kv\|kw\|ky\|la\|lad\|lan\|lb\|lg\|li\|lij\|lmo\|ln\|lo\|lt\|lv\|map-bms\|mg\|mh\|mi\|mk\|ml\|mn\|mo\|mr\|ms\|mt\|mus\|my\|na\|nah\|nap\|nd\|nds\|nds-nl\|ne\|new\|ng\|nl\|nn\|no\|nr\|nso\|nrm\|nv\|ny\|oc\|oj\|om\|or\|os\|pa\|pag\|pam\|pap\|pdc\|pi\|pih\|pl\|pms\|ps\|pt\|qu\|rm\|rmy\|rn\|ro\|roa-rup\|ru\|rw\|sa\|sc\|scn\|sco\|sd\|se\|sg\|sh\|si\|simple\|sk\|sl\|sm\|sn\|so\|sq\|sr\|ss\|st\|su\|sv\|sw\|ta\|te\|tet\|tg\|th\|ti\|tk\|tl\|tlh\|tn\|to\|tpi\|tr\|ts\|tt\|tum\|tw\|ty\|udm\|ug\|uk\|ur\|uz\|ve\|vi\|vec\|vls\|vo\|wa\|war\|wo\|xal\|xh\|yi\|yo\|za\|zh\|zh-min-nan\|zh-yue\|zu\)\>/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
767 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
768 highlight def link redifArgumentLanguage redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
769 highlight def link redifCorrectLanguage redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
770 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
771 " Length |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
772 " Based on the example in the documentation. But apparently any field is |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
773 " possible |
4278 | 774 syntax region redifArgumentLength start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=redifGoodLength contained |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
775 syntax match redifGoodLength /1 page\|[1-9]\d*\%( pages\)\=/ contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
776 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
777 highlight def link redifGoodLength redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
778 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
779 " Publication-Type |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
780 syntax match redifArgumentPublicationType /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectPublicationType contained display |
4278 | 781 syntax match redifCorrectPublicationType /\<\(journal article\|book\|book chapter\|working paper\|conference paper\|report\|other\)\>/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
782 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
783 highlight def link redifArgumentPublicationType redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
784 highlight def link redifCorrectPublicationType redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
785 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
786 " Publication-Status |
4278 | 787 syntax region redifArgumentPublicationStatus start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=redifSpecialPublicationStatus contained |
788 syntax match redifSpecialPublicationStatus /published\|forthcoming/ nextgroup=redifCorrectPublicationStatus contained display | |
789 syntax region redifCorrectPublicationStatus start=/./ end=/^\S\{-}:/me=s-1 contained | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
790 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
791 highlight def link redifArgumentPublicationStatus redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
792 highlight def link redifSpecialPublicationStatus redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
793 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
794 " Month |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
795 " TODO Are numbers also allowed? |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
796 syntax match redifArgumentMonth /\%(^\S\{-}:\)\@!\S.*/ contains=redifGoodMonth contained display |
4339 | 797 syntax match redifGoodMonth /\<\(Jan\%(uary\)\=\|Feb\%(ruary\)\=\|Mar\%(ch\)\=\|Apr\%(il\)\=\|May\|June\=\|July\=\|Aug\%(ust\)\=\|Sep\%(tember\)\=\|Oct\%(ober\)\=\|Nov\%(ember\)\=\|Dec\%(ember\)\=\)\>/ contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
798 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
799 highlight def link redifGoodMonth redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
800 |
4339 | 801 " Integers: Volume, Chapter |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
802 syntax match redifArgumentVolume /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectInteger contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
803 syntax match redifArgumentChapter /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectInteger contained display |
4278 | 804 syntax match redifCorrectInteger /[1-9]\d*/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
805 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
806 highlight def link redifArgumentVolume redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
807 highlight def link redifArgumentChapter redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
808 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
809 " Year |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
810 syntax match redifArgumentYear /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectYear contained display |
4278 | 811 syntax match redifCorrectYear /[1-9]\d\{3}/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
812 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
813 highlight def link redifArgumentYear redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
814 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
815 " Edition |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
816 " Based on the example in the documentation. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
817 syntax match redifArgumentEdition /\%(^\S\{-}:\)\@!\S.*/ contains=redifGoodEdition contained display |
4339 | 818 syntax match redifGoodEdition /1st\|2nd\|3rd\|[4-9]th\|[1-9]\d*\%(1st\|2nd\|3rd\|[4-9]th\)\|[1-9]\d*/ contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
819 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
820 highlight def link redifGoodEdition redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
821 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
822 " ISBN |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
823 syntax match redifArgumentISBN /\%(^\S\{-}:\)\@!\S.*/ contains=redifGoodISBN contained display |
4339 | 824 syntax match redifGoodISBN /\d[0-9-]\{8,15}\d/ contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
825 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
826 highlight def link redifGoodISBN redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
827 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
828 " ISSN |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
829 syntax match redifArgumentISSN /\%(^\S\{-}:\)\@!\S.*/ contains=redifGoodISSN contained display |
4339 | 830 syntax match redifGoodISSN /\d\{4}-\d\{3}[0-9X]/ contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
831 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
832 highlight def link redifGoodISSN redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
833 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
834 " File-Size |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
835 " Based on the example in the documentation. |
4278 | 836 syntax region redifArgumentFileSize start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=redifGoodSize contained |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
837 syntax match redifGoodSize /kb\|bytes/ contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
838 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
839 highlight def link redifGoodSize redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
840 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
841 " Type |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
842 syntax match redifArgumentType /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectType contained display |
4278 | 843 syntax match redifCorrectType /ReDIF-Paper\|ReDIF-Software\|ReDIF-Article\|ReDIF-Chapter\|ReDIF-Book/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
844 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
845 highlight def link redifArgumentType redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
846 highlight def link redifCorrectType redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
847 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
848 " Dates: Publication-Date, Creation-Date, Revision-Date, |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
849 " Last-Login-Date, Registration-Date |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
850 syntax match redifArgumentCreationDate /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectDate contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
851 syntax match redifArgumentLastLoginDate /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectDate contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
852 syntax match redifArgumentPublicationDate /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectDate contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
853 syntax match redifArgumentRegisteredDate /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectDate contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
854 syntax match redifArgumentRevisionDate /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectDate contained display |
4278 | 855 syntax match redifCorrectDate /[1-9]\d\{3}\%(-02\%(-[12]\d\|-0[1-9]\)\=\|-\%(0[469]\|11\)\%(-30\|-[12]\d\|-0[1-9]\)\=\|-\%(0[13578]\|1[02]\)\%(-3[01]\|-[12]\d\|-0[1-9]\)\=\)\=/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
856 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
857 highlight def link redifArgumentCreationDate redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
858 highlight def link redifArgumentLastLoginDate redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
859 highlight def link redifArgumentPublicationDate redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
860 highlight def link redifArgumentRegisteredDate redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
861 highlight def link redifArgumentRevisionDate redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
862 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
863 " Classification-JEL |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
864 syntax match redifArgumentClassificationJEL /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectJEL contained display |
4339 | 865 syntax match redifCorrectJEL /\<\%(\u\d\{,2}[,; \t]\s*\)*\u\d\{,2}/ contains=redifSpecialJEL nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
866 syntax match redifSpecialJEL /\<\u\d\{,2}/ contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
867 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
868 highlight def link redifArgumentClassificationJEL redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
869 highlight def link redifSpecialJEL redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
870 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
871 " Pages |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
872 syntax match redifArgumentPages /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectPages contained display |
4278 | 873 syntax match redifCorrectPages /[1-9]\d*-[1-9]\d*/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
874 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
875 highlight def link redifArgumentPages redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
876 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
877 " Name-ASCII |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
878 syntax match redifArgumentNameASCII /\%(^\S\{-}:\)\@!\S.*/ contains=redifCorrectNameASCII contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
879 syntax match redifCorrectNameASCII /[ -~]/ contained display |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
880 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
881 highlight def link redifArgumentNameASCII redifError |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
882 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
883 " Programming-Language |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
884 syntax match redifArgumentProgrammingLanguage /\%(^\S\{-}:\)\@!\S.*/ contains=redifGoodProgrammingLanguage contained display |
4278 | 885 syntax match redifGoodProgrammingLanguage /\<c++\|\<\%(c\|dos executable\|executable\|fortran\|gauss\|gretl\|java\|mathematica\|matlab\|octave\|ox\|perl\|python\|rats\|r\|shazam\|s-plus\|stata\|tsp international\)\>/ nextgroup=redifWrongLineEnding contained display |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
886 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
887 highlight def link redifGoodProgrammingLanguage redifSpecial |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
888 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
889 " File-Format |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
890 " TODO The link in the documentation that gives the list of possible formats is broken. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
891 " ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
892 " These are based on the examples in the documentation. |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
893 syntax match redifArgumentFileFormat /\%(^\S\{-}:\)\@!\S.*/ contains=redifGoodFormat contained display |
4278 | 894 syntax match redifGoodFormat "\a\+/[[:alpha:]+-]\+" nextgroup=redifWrongLineEnding contains=redifSpecialFormat contained display |
895 syntax match redifSpecialFormat "application/atom+xml\|application/ecmascript\|application/EDI-X12\|application/EDIFACT\|application/json\|application/javascript\|application/octet-stream\|application/ogg\|application/pdf\|application/postscript\|application/rdf+xml\|application/rss+xml\|application/soap+xml\|application/font-woff\|application/xhtml+xml\|application/xml\|application/xml-dtd\|application/xop+xml\|application/zip\|application/gzip\|audio/basic\|audio/L24\|audio/mp4\|audio/mpeg\|audio/ogg\|audio/vorbis\|audio/vnd.rn-realaudio\|audio/vnd.wave\|audio/webm\|image/gif\|image/jpeg\|image/pjpeg\|image/png\|image/svg+xml\|image/tiff\|image/vnd.microsoft.icon\|message/http\|message/imdn+xml\|message/partial\|message/rfc822\|model/example\|model/iges\|model/mesh\|model/vrml\|model/x3d+binary\|model/x3d+vrml\|model/x3d+xml\|multipart/mixed\|multipart/alternative\|multipart/related\|multipart/form-data\|multipart/signed\|multipart/encrypted\|text/cmd\|text/css\|text/csv\|text/html\|text/javascript\|text/plain\|text/vcard\|text/xml\|video/mpeg\|video/mp4\|video/ogg\|video/quicktime\|video/webm\|video/x-matroska\|video/x-ms-wmv\|video/x-flv" contained display | |
896 | |
897 highlight def link redifSpecialFormat redifSpecial | |
898 highlight def link redifArgumentFileFormat redifError | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
899 |
4278 | 900 " Keywords |
901 " Spell checked | |
902 syntax match redifArgumentKeywords /\%(^\S\{-}:\)\@!\S.*/ contains=@Spell,redifKeywordsSemicolon contained | |
903 syntax match redifKeywordsSemicolon /;/ contained | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
904 |
4278 | 905 highlight def link redifKeywordsSemicolon redifSpecial |
906 | |
907 " Other spell-checked arguments | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
908 " Very useful when copy-pasting abstracts that may contain hyphens or |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
909 " ligatures. |
4278 | 910 syntax region redifArgumentAbstract start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained |
911 syntax region redifArgumentAvailability start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
912 syntax region redifArgumentBookTitle start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
913 syntax region redifArgumentDescription start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
914 syntax region redifArgumentFileRestriction start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
915 syntax region redifArgumentNote start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
916 syntax region redifArgumentNotification start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
917 syntax region redifArgumentRestriction start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
918 syntax region redifArgumentTitle start=/\%(^\S\{-}:\)\@!\S/ end=/^\S\{-}:/me=s-1 contains=@Spell contained | |
919 | |
920 " Wrong line ending | |
921 syntax match redifWrongLineEnding /.\+/ contained display | |
922 | |
923 highlight def link redifWrongLineEnding redifError | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
924 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
925 " Final highlight |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
926 highlight def link redifComment Comment |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
927 highlight def link redifError Error |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
928 highlight def link redifField Identifier |
4278 | 929 highlight def link redifFieldDeprecated Identifier |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
930 highlight def link redifSpecial Special |
4278 | 931 " For deprecated fields: |
932 highlight redifFieldDeprecated term=undercurl cterm=undercurl gui=undercurl guisp=DarkGrey | |
933 | |
934 " Sync: The template-type (ReDIF-Paper, ReDIF-Archive, etc.) influences which | |
935 " fields can follow. Thus sync must search backwards for it. | |
936 " | |
937 " I would like to simply ask VIM to search backward for the first occurence of | |
938 " /^Template-Type:/, but it does not seem to be possible, so I have to start | |
939 " from the beginning of the file... This might slow down a lot for files that | |
940 " contain a lot of Template-Type statements. | |
941 syntax sync fromstart | |
942 | |
943 " The problem with syntax sync match (tried below), it is that, for example, | |
944 " it cannot realize when it is inside a Author-Name cluster, which is inside a | |
945 " Template-Type template... | |
946 " | |
947 " TODO Is this linecont pattern really useful? It seems to work anyway... | |
948 "syntax sync linecont /^\(Template-Type:\)\=\s*$/ | |
949 " TODO This sync is surprising... It seems to work on several lines even | |
950 " though I replaced \_s* by \s*, even without the linecont pattern... | |
951 "syntax sync match redifSyncForTemplatePaper groupthere redifRegionTemplatePaper /^Template-Type:\s*ReDIF-Paper \d\+\.\d\+/ | |
952 "syntax sync match redifSyncForTemplateArticle groupthere redifRegionTemplateArticle /^Template-Type:\s*ReDIF-Article \d\+\.\d\+/ | |
953 "syntax sync match redifSyncForTemplateChapter groupthere redifRegionTemplateChapter /^Template-Type:\s*ReDIF-Chapter \d\+\.\d\+/ | |
954 "syntax sync match redifSyncForTemplateBook groupthere redifRegionTemplateBook /^Template-Type:\s*ReDIF-Book \d\+\.\d\+/ | |
955 "syntax sync match redifSyncForTemplateSoftware groupthere redifRegionTemplateSoftware /^Template-Type:\s*ReDIF-Software \d\+\.\d\+/ | |
956 "syntax sync match redifSyncForTemplateArchive groupthere redifRegionTemplateArchive /^Template-Type:\s*ReDIF-Archive \d\+\.\d\+/ | |
957 "syntax sync match redifSyncForTemplateSeries groupthere redifRegionTemplateSeries /^Template-Type:\s*ReDIF-Series \d\+\.\d\+/ | |
958 "syntax sync match redifSyncForTemplateInstitution groupthere redifRegionTemplateInstitution /^Template-Type:\s*ReDIF-Institution \d\+\.\d\+/ | |
959 "syntax sync match redifSyncForTemplatePerson groupthere redifRegionTemplatePerson /^Template-Type:\s*ReDIF-Person \d\+\.\d\+/ | |
960 | |
961 " I do not really know how sync linebreaks works, but it helps when making | |
962 " changes on the argument when this argument is not on the same line than its | |
963 " field. I just assume that people won't leave more than one line of | |
964 " whitespace between fields and arguments (which is already very unlikely) | |
965 " hence the value of 2. | |
966 syntax sync linebreaks=2 | |
967 | |
968 " Since folding is defined by the syntax, set foldmethod to syntax. | |
969 set foldmethod=syntax | |
4269
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
970 |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
971 " Set "b:current_syntax" to the name of the syntax at the end: |
a079ef0ce001
Move redif syntax file to the right directory.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
972 let b:current_syntax="redif" |