annotate runtime/syntax/ist.vim @ 33956:e0535b3b9d77

runtime(racket): update Racket runtime files (#13693) Commit: https://github.com/vim/vim/commit/5eb9cb53d619f89251d22299e2cb4f21918d9d38 Author: D. Ben Knoble <ben.knoble+github@gmail.com> Date: Sat Dec 16 08:24:15 2023 -0500 runtime(racket): update Racket runtime files (https://github.com/vim/vim/issues/13693) This brings the included Racket runtime files to commit 43bfc87 (update headers, 2023-12-15) of https://github.com/benknoble/vim-racket. Note that not all files from that repository are included. (In particular, the ftdetect script is omitted for now.) Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Dec 2023 14:30:06 +0100
parents 46763b01cd9a
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: Makeindex style file, *.ist
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Peter Meszaros <pmeszaros@effice.hu>
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
4 " Last Change: 2012 Jan 08 by Thilo Six
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: 3256
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: 3256
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
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
11 let s:cpo_save = &cpo
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
12 set cpo&vim
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
13
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3256
diff changeset
14 setlocal iskeyword=$,@,48-57,_
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn keyword IstInpSpec actual arg_close arg_open encap escape
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn keyword IstInpSpec keyword level quote range_close range_open
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn keyword IstInpSpec page_compositor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword IstOutSpec preamble postamble setpage_prefix setpage_suffix group_skip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn keyword IstOutSpec headings_flag heading_prefix heading_suffix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword IstOutSpec lethead_flag lethead_prefix lethead_suffix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword IstOutSpec symhead_positive symhead_negative numhead_positive numhead_negative
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword IstOutSpec item_0 item_1 item_2 item_01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword IstOutSpec item_x1 item_12 item_x2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword IstOutSpec delim_0 delim_1 delim_2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword IstOutSpec delim_n delim_r delim_t
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword IstOutSpec encap_prefix encap_infix encap_suffix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword IstOutSpec line_max indent_space indent_length
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword IstOutSpec suffix_2p suffix_3p suffix_mp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn region IstString matchgroup=IstDoubleQuote start=+"+ skip=+\\"+ end=+"+ contains=IstSpecial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match IstCharacter "'.'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match IstNumber "\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match IstComment "^[\t ]*%.*$" contains=IstTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match IstSpecial "\\\\\|{\|}\|#\|\\n" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match IstTodo "DEBUG\|TODO" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3256
diff changeset
41 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
43 hi def link IstInpSpec Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
44 hi def link IstOutSpec Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
45 hi def link IstString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
46 hi def link IstNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
47 hi def link IstComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
48 hi def link IstTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
49 hi def link IstSpecial Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
50 hi def link IstDoubleQuote Label
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
51 hi def link IstCharacter Label
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 let b:current_syntax = "ist"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
56 let &cpo = s:cpo_save
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
57 unlet s:cpo_save
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 " vim: ts=8 sw=2