Mercurial > vim
annotate runtime/syntax/ist.vim @ 13696:3b1cfbc70b43 v8.0.1720
patch 8.0.1720: when a timer is running a terminal window may not close
commit https://github.com/vim/vim/commit/802bfb14636b24d86d0ca8e0947d808b9b7c941e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 15 17:28:13 2018 +0200
patch 8.0.1720: when a timer is running a terminal window may not close
Problem: When a timer is running a terminal window may not close after a
shell has exited.
Solution: Call job_status() more often.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Apr 2018 17:30:07 +0200 |
parents | 46763b01cd9a |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Makeindex style file, *.ist | |
3 " Maintainer: Peter Meszaros <pmeszaros@effice.hu> | |
3256 | 4 " Last Change: 2012 Jan 08 by Thilo Six |
7 | 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 | 8 finish |
9 endif | |
10 | |
3256 | 11 let s:cpo_save = &cpo |
12 set cpo&vim | |
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 | 15 |
16 syn case ignore | |
17 syn keyword IstInpSpec actual arg_close arg_open encap escape | |
18 syn keyword IstInpSpec keyword level quote range_close range_open | |
19 syn keyword IstInpSpec page_compositor | |
20 | |
21 syn keyword IstOutSpec preamble postamble setpage_prefix setpage_suffix group_skip | |
22 syn keyword IstOutSpec headings_flag heading_prefix heading_suffix | |
23 syn keyword IstOutSpec lethead_flag lethead_prefix lethead_suffix | |
24 syn keyword IstOutSpec symhead_positive symhead_negative numhead_positive numhead_negative | |
25 syn keyword IstOutSpec item_0 item_1 item_2 item_01 | |
26 syn keyword IstOutSpec item_x1 item_12 item_x2 | |
27 syn keyword IstOutSpec delim_0 delim_1 delim_2 | |
28 syn keyword IstOutSpec delim_n delim_r delim_t | |
29 syn keyword IstOutSpec encap_prefix encap_infix encap_suffix | |
30 syn keyword IstOutSpec line_max indent_space indent_length | |
31 syn keyword IstOutSpec suffix_2p suffix_3p suffix_mp | |
32 | |
33 syn region IstString matchgroup=IstDoubleQuote start=+"+ skip=+\\"+ end=+"+ contains=IstSpecial | |
34 syn match IstCharacter "'.'" | |
35 syn match IstNumber "\d\+" | |
36 syn match IstComment "^[\t ]*%.*$" contains=IstTodo | |
37 syn match IstSpecial "\\\\\|{\|}\|#\|\\n" contained | |
38 syn match IstTodo "DEBUG\|TODO" contained | |
39 | |
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 | 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 | 52 |
53 | |
54 let b:current_syntax = "ist" | |
55 | |
3256 | 56 let &cpo = s:cpo_save |
57 unlet s:cpo_save | |
7 | 58 " vim: ts=8 sw=2 |