Mercurial > vim
annotate runtime/syntax/jargon.vim @ 19952:82ea10d554fb v8.2.0532
patch 8.2.0532: cannot use simplify() as a method
Commit: https://github.com/vim/vim/commit/7035fd9d909c49cf5105a53753c1772c193d05b8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 8 20:03:52 2020 +0200
patch 8.2.0532: cannot use simplify() as a method
Problem: Cannot use simplify() as a method.
Solution: Add FEARG_1. (closes https://github.com/vim/vim/issues/5996)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Apr 2020 20:15:04 +0200 |
parents | bceeded72898 |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Jargon File | |
18186 | 3 " Maintainer: Dan Church (https://github.com/h3xx) |
19721 | 4 " Last Change: 2020 Mar 16 |
7 | 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 | 8 finish |
9 endif | |
10 | |
19721 | 11 syn region jargonHeader start="^:" end="$" contains=jargonChaptTitle |
12 syn match jargonChaptTitle /:[^:]*:/ contained | |
13 syn match jargonEmailAddr /[+._A-Za-z0-9-]\+@[+._A-Za-z0-9-]\+/ | |
14 syn match jargonUrl +\(https\?\|ftp\)://[^\t )"]*+ | |
15 syn region jargonMark start="{[^\t {}]" end="}" | |
7 | 16 |
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 | 19 hi def link jargonChaptTitle Title |
20 hi def link jargonEmailAddr Comment | |
21 hi def link jargonUrl Comment | |
22 hi def link jargonMark Label | |
7 | 23 |
24 let b:current_syntax = "jargon" |