annotate runtime/syntax/coco.vim @ 32768:ad7365d54a0e v9.0.1702

patch 9.0.1702: Undo test is flaky Commit: https://github.com/vim/vim/commit/9c30f4389944810cf88154d25dfd9ea5737c19e6 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Aug 13 10:29:26 2023 +0200 patch 9.0.1702: Undo test is flaky Problem: Undo test is flaky. Solution: Apply filter and change time to "1 second ago" in both dumps. closes: #12771 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 13 Aug 2023 10:45:05 +0200
parents 1e9e9d89f0ee
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim syntax file
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
2 " Language: Coco/R
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
3 " Maintainer: Ashish Shukla <wahjava@gmail.com>
29193
1e9e9d89f0ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
4 " Last Change: 2022 Jun 14
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
5 " Remark: Coco/R syntax partially implemented.
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
6 " License: Vim license
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
7
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
8 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
9 if exists("b:current_syntax")
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
10 finish
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
11 endif
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
12
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
13 syn keyword cocoKeywords ANY CHARACTERS COMMENTS COMPILER CONTEXT END FROM IF IGNORE IGNORECASE NESTED PRAGMAS PRODUCTIONS SYNC TO TOKENS WEAK
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
14 syn match cocoUnilineComment #//.*$#
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
15 syn match cocoIdentifier /[[:alpha:]][[:alnum:]]*/
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
16 syn region cocoMultilineComment start=#/[*]# end=#[*]/#
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
17 syn region cocoString start=/"/ skip=/\\"\|\\\\/ end=/"/
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
18 syn region cocoCharacter start=/'/ skip=/\\'\|\\\\/ end=/'/
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
19 syn match cocoOperator /+\||\|\.\.\|-\|(\|)\|{\|}\|\[\|\]\|=\|<\|>/
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
20 syn region cocoProductionCode start=/([.]/ end=/[.])/
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
21 syn match cocoPragma /[$][[:alnum:]]*/
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
22
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
23 hi def link cocoKeywords Keyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
24 hi def link cocoUnilineComment Comment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
25 hi def link cocoMultilineComment Comment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
26 hi def link cocoIdentifier Identifier
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
27 hi def link cocoString String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
28 hi def link cocoCharacter Character
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
29 hi def link cocoOperator Operator
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
30 hi def link cocoProductionCode Statement
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
31 hi def link cocoPragma Special
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
32
29193
1e9e9d89f0ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
33 let b:current_syntax = 'coco'