forked from yhirose/cpp-peglib
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpeg.vim
More file actions
Latest commit
28 lines (18 loc) · 641 Bytes
/
Copy pathpeg.vim
File metadata and controls
28 lines (18 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
synmatchpegBoth/=/
synmatchpegM2U/->/
synmatchpegU2M/<-/
synmatchpegName/\v[a-zA-Z_][a-zA-Z0-9_]*/
synmatchpegLineComment'#.*'
synregionpegStringDstart=/\v"/skip=/\v\\./end=/\v"/
synregionpegStringSstart=/\v'/skip=/\v\\./end=/\v'/
synregionpegClassstart=/\v\[/skip=/\v\\./end=/\v]/
"syn match pegOperator /\(*\|?\|+\|!\|\.\|\~\)/
hideflinkpegBothStatement
hideflinkpegM2UStatement
hideflinkpegU2MStatement
hideflinkpegNameIdentifier
hideflinkpegLineCommentComment
hideflinkpegStringDString
hideflinkpegStringSString
hideflinkpegClassString
letb:current_syntax="peg"