annotate runtime/syntax/jargon.vim @ 18612:29a5273d0270

Added tag v8.1.2299 for changeset 6a7ebc2ee5285eb4a27cdf908a5b12c855c2ca40
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Nov 2019 22:00:05 +0100
parents 03b854983b14
children bceeded72898
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Jargon File
18186
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
3 " Maintainer: Dan Church (https://github.com/h3xx)
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
4 " Last Change: 2019 Sep 27
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 "
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
6 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 syn match jargonChaptTitle /:[^:]*:/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syn match jargonEmailAddr /[^<@ ^I]*@[^ ^I>]*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn match jargonUrl +\(http\|ftp\)://[^\t )"]*+
18186
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
14 syn region jargonMark start="{" end="}"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
17 " Only when an item doesn't have highlighting yet
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
18 hi def link jargonChaptTitle Title
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
19 hi def link jargonEmailAddr Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
20 hi def link jargonUrl Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
21 hi def link jargonMark Label
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 let b:current_syntax = "jargon"