annotate runtime/syntax/jargon.vim @ 26304:bb2175e5ccee

Update runtime files. Commit: https://github.com/vim/vim/commit/6304be625ce44dcfedc6735164d0b853578581c8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 27 10:57:26 2021 +0000 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Nov 2021 12:00:09 +0100
parents bceeded72898
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Jargon File
18186
03b854983b14 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
3 " Maintainer: Dan Church (https://github.com/h3xx)
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
4 " Last Change: 2020 Mar 16
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
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
11 syn region jargonHeader start="^:" end="$" contains=jargonChaptTitle
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
12 syn match jargonChaptTitle /:[^:]*:/ contained
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
13 syn match jargonEmailAddr /[+._A-Za-z0-9-]\+@[+._A-Za-z0-9-]\+/
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
14 syn match jargonUrl +\(https\?\|ftp\)://[^\t )"]*+
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
15 syn region jargonMark start="{[^\t {}]" end="}"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
18 " Only when an item doesn't have highlighting yet
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
19 hi def link jargonChaptTitle Title
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
20 hi def link jargonEmailAddr Comment
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
21 hi def link jargonUrl Comment
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18186
diff changeset
22 hi def link jargonMark Label
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 let b:current_syntax = "jargon"