on 5f6e310 help sign in
bat/assets/syntaxes/02_Extra/Group.sublime-syntax
48 lines 753 B history raw
1%YAML 1.2
2---
3# http://www.sublimetext.com/docs/3/syntax.html
4name: group
5file_extensions:
6 - group
7scope: source.group
9contexts:
10 main:
11 - comment: name
12 match: ^[^:]+
13 scope: keyword
15 - comment: password
16 match: ":"
17 push: password
19 password:
20 - comment: uid
21 match: ":"
22 set: gid
24 - comment: shadowpassword
25 match: "[^:]+"
26 scope: invalid
28 gid:
29 - comment: gid
30 match: ":"
31 set: users
33 - comment: number
34 match: "[0-9]+"
35 scope: constant.numeric
37 users:
38 - comment: newline
39 match: "\n"
40 pop: true
42 - comment: directory
43 match: "[^:\n]+"
44 scope: variable.parameter
46 - comment: separator
47 match: ","
48 scope: punctuation