annotate runtime/syntax/rpcgen.vim @ 31067:983c16e2dfb7 v9.0.0868

patch 9.0.0868: MS-Windows: after Vim exits console resizing problem Commit: https://github.com/vim/vim/commit/1140b51e8369fed2321ce16bd4530a0952362126 Author: Christopher Plewright <chris@createng.com> Date: Sat Nov 12 18:46:05 2022 +0000 patch 9.0.0868: MS-Windows: after Vim exits console resizing problem Problem: MS-Windows: after Vim exits console resizing does not work properly. Solution: Restore screen behavior checks for various WT and VTP combinations. (Christopher Plewright, closes #11526, closes #11507)
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Nov 2022 20:00:04 +0100
parents 8edf0aeb71b9
children 02bd0fe77c68
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: rpcgen
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
3 " Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
4 " Last Change: Aug 31, 2016
19180
8edf0aeb71b9 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10051
diff changeset
5 " Version: 13
6479
b3bc99b909c3 Updated syntax files.
Bram Moolenaar <bram@vim.org>
parents: 507
diff changeset
6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_RPCGEN
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
6484
ce4ecfbebded Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 6479
diff changeset
8 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Read the C syntax to start with
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6484
diff changeset
13 runtime! syntax/c.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn keyword rpcProgram program skipnl skipwhite nextgroup=rpcProgName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn match rpcProgName contained "\<\i\I*\>" skipnl skipwhite nextgroup=rpcProgZone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn region rpcProgZone contained matchgroup=Delimiter start="{" matchgroup=Delimiter end="}\s*=\s*\(\d\+\|0x[23]\x\{7}\)\s*;"me=e-1 contains=rpcVersion,cComment,rpcProgNmbrErr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn keyword rpcVersion contained version skipnl skipwhite nextgroup=rpcVersName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match rpcVersName contained "\<\i\I*\>" skipnl skipwhite nextgroup=rpcVersZone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn region rpcVersZone contained matchgroup=Delimiter start="{" matchgroup=Delimiter end="}\s*=\s*\d\+\s*;"me=e-1 contains=cType,cStructure,cStorageClass,rpcDecl,rpcProcNmbr,cComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword rpcDecl contained string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match rpcProcNmbr contained "=\s*\d\+;"me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match rpcProgNmbrErr contained "=\s*0x[^23]\x*"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match rpcPassThru "^\s*%.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " Define the default highlighting.
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
27 if !exists("skip_rpcgen_syntax_inits")
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 6484
diff changeset
28
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
29 hi def link rpcProgName rpcName
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
30 hi def link rpcProgram rpcStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
31 hi def link rpcVersName rpcName
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
32 hi def link rpcVersion rpcStatement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
34 hi def link rpcDecl cType
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
35 hi def link rpcPassThru cComment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
37 hi def link rpcName Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
38 hi def link rpcProcNmbr Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
39 hi def link rpcProgNmbrErr Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
40 hi def link rpcStatement Statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
42 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 let b:current_syntax = "rpcgen"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 " vim: ts=8