Mercurial > vim
comparison runtime/syntax/jargon.vim @ 18186:03b854983b14
Update runtime files.
Commit: https://github.com/vim/vim/commit/5be4ceecea5520265066eac972460ebb1cdf05e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 27 19:34:08 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Sep 2019 19:45:06 +0200 |
parents | 46763b01cd9a |
children | bceeded72898 |
comparison
equal
deleted
inserted
replaced
18185:75f204e14e28 | 18186:03b854983b14 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Jargon File | 2 " Language: Jargon File |
3 " Maintainer: <rms@poczta.onet.pl> | 3 " Maintainer: Dan Church (https://github.com/h3xx) |
4 " Last Change: 2001 May 26 | 4 " Last Change: 2019 Sep 27 |
5 " | 5 " |
6 " quit when a syntax file was already loaded | 6 " quit when a syntax file was already loaded |
7 if exists("b:current_syntax") | 7 if exists("b:current_syntax") |
8 finish | 8 finish |
9 endif | 9 endif |
10 | 10 |
11 syn match jargonChaptTitle /:[^:]*:/ | 11 syn match jargonChaptTitle /:[^:]*:/ |
12 syn match jargonEmailAddr /[^<@ ^I]*@[^ ^I>]*/ | 12 syn match jargonEmailAddr /[^<@ ^I]*@[^ ^I>]*/ |
13 syn match jargonUrl +\(http\|ftp\)://[^\t )"]*+ | 13 syn match jargonUrl +\(http\|ftp\)://[^\t )"]*+ |
14 syn match jargonMark /{[^}]*}/ | 14 syn region jargonMark start="{" end="}" |
15 | 15 |
16 " Define the default highlighting. | 16 " Define the default highlighting. |
17 " Only when an item doesn't have highlighting yet | 17 " Only when an item doesn't have highlighting yet |
18 hi def link jargonChaptTitle Title | 18 hi def link jargonChaptTitle Title |
19 hi def link jargonEmailAddr Comment | 19 hi def link jargonEmailAddr Comment |