git.iko.soy
/
bat
readme
files
commits
refs
on
master
help
sign in
Add syntax highlighting for /etc/group file
15b1676
Anubhab Ghosh
7 years ago
assets/syntaxes/Group.sublime-syntax
new file
+48
compare with master
unified
split
@@ -0,0 +1,48 @@
1
+
%
YAML
1.2
2
+
---
3
+
# http://www.sublimetext.com/docs/3/syntax.html
4
+
name:
group
5
+
file_extensions:
6
+
-
group
7
+
scope:
source.group
8
+
9
+
contexts:
10
+
main:
11
+
- comment:
name
12
+
match:
^[^:]+
13
+
scope:
keyword
14
+
15
+
- comment:
password
16
+
match:
":"
17
+
push:
password
18
+
19
+
password:
20
+
- comment:
uid
21
+
match:
":"
22
+
set:
gid
23
+
24
+
- comment:
shadowpassword
25
+
match:
"[^:]+"
26
+
scope:
invalid
27
+
28
+
gid:
29
+
- comment:
gid
30
+
match:
":"
31
+
set:
users
32
+
33
+
- comment:
number
34
+
match:
"[0-9]+"
35
+
scope:
constant.numeric
36
+
37
+
users:
38
+
- comment:
newline
39
+
match:
"\n"
40
+
pop:
true
41
+
42
+
- comment:
directory
43
+
match:
"[^:\n]+"
44
+
scope:
variable.parameter
45
+
46
+
- comment:
separator
47
+
match:
","
48
+
scope:
punctuation
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list