dkearns | c79646d | 2024-01-05 08:58:48 +1100 | [diff] [blame] | 1 | " Vim :syntax highlighting |
| 2 | |
| 3 | syn keyword testKeyword |
| 4 | \ conceal |
| 5 | \ cchar=& |
| 6 | \ contained |
| 7 | \ containedin=testContainer |
| 8 | \ nextgroup=testNext,@testCluster |
| 9 | \ transparent |
| 10 | \ skipwhite |
| 11 | \ skipempty |
| 12 | \ skipnl |
| 13 | \ keyword1 |
| 14 | \ keyword2 |
| 15 | \ keyword3 |
| 16 | |
| 17 | syn match testMatch |
| 18 | \ "pattern" |
| 19 | \ conceal |
| 20 | \ cchar=& |
| 21 | \ contained |
| 22 | \ containedin=testContainer |
| 23 | \ nextgroup=testNext,@testCluster |
| 24 | \ transparent |
| 25 | \ skipwhite |
| 26 | \ skipempty |
| 27 | \ skipnl |
| 28 | \ contains=testContained1,testContained2 |
| 29 | \ fold |
| 30 | \ display |
| 31 | \ extend |
| 32 | \ excludenl |
| 33 | \ keepend |
| 34 | |
| 35 | syn region testRegion |
| 36 | \ start="start-pattern" |
| 37 | \ end="end-pattern" |
| 38 | \ skip="skip-pattern" |
| 39 | \ contained |
| 40 | \ conceal |
| 41 | \ cchar=& |
| 42 | \ contained |
| 43 | \ containedin=testContainer |
| 44 | \ nextgroup=testNext,@testCluster |
| 45 | \ transparent |
| 46 | \ skipwhite |
| 47 | \ skipempty |
| 48 | \ skipnl |
| 49 | \ contains=testContained1,testContained2 |
| 50 | \ oneline |
| 51 | \ fold |
| 52 | \ display |
| 53 | \ extend |
| 54 | \ concealends |
| 55 | \ excludenl |
| 56 | \ keepend |
| 57 | |
| 58 | syn cluster testCluster |
| 59 | \ contains=testContained1,testContained2,testContained3 |
| 60 | |
| 61 | syn cluster testCluster |
| 62 | \ add=testAdd |
| 63 | \ remove=testRemove |
| 64 | |
| 65 | |
| 66 | " check multiline group list |
| 67 | syn keyword testKeyword |
| 68 | \ nextgroup= |
| 69 | \ testNext , |
| 70 | \ testNext2 , |
| 71 | \ @testCluster |
| 72 | \ skipwhite |
| 73 | \ keyword4 |
| 74 | \ keyword5 |
| 75 | \ keyword6 |