annotate runtime/syntax/jargon.vim @ 30437:d77a900f6094 v9.0.0554

patch 9.0.0554: using freed memory when command follows lambda Commit: https://github.com/vim/vim/commit/f8addf1ca1d8c7801f6dded2341b7084d2b93e5e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 23 12:44:25 2022 +0100 patch 9.0.0554: using freed memory when command follows lambda Problem: Using freed memory when command follows lambda. Solution: Don't free what is still in use. (closes https://github.com/vim/vim/issues/11201)
author Bram Moolenaar <Bram@vim.org>
date Fri, 23 Sep 2022 13:45:06 +0200
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"