-
Notifications
You must be signed in to change notification settings - Fork 20
/
conf.ls
38 lines (38 loc) · 1.11 KB
/
conf.ls
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
29
30
31
32
33
34
35
36
37
38
regexp=(?<=\s)-[\w\d]+(?=\s|$)
colours=yellow
=======
# number
regexp=(\s|^)\d+([.,]\d+)?(?=[\s,]|$)
colours=yellow
=======
# size
regexp=(\s|^)\d+([.,]\d+)?\s?([kKMG][bB]|[bB]|[kKMG])(?=[\s,]|$)
colours=yellow
=======
# n-n-n
regexp=(\s|^)(\d+)(\-)(\d+)(\-)(\d+)+(?=[\s,]|$)
colours=green,yellow,green,yellow,green,yellow
=======
# n:n
regexp=(\s|^)\d+(:\d+)+(?=[\s,]|$)
colours=green
=======
regexp=(?<=\d):(?=\d)
colours=yellow
=======
# -rwxrwxrwx
regexp=(-|([bcCdDlMnpPs?]))(?=[-r][-w][-xsStT][-r][-w][-xsStT][-r][-w][-xsStT])
colours=unchanged,unchanged,blue
=======
regexp=(?<=[-bcCdDlMnpPs?])(-|(r))(-|(w))(-|([xsStT]))(?=[-r][-w][-xsStT][-r][-w][-xsStT])
colours=unchanged,unchanged,green,unchanged,green,unchanged,green
=======
regexp=(?<=[-bcCdDlMnpPs?][-r][-w][-xsStT])(-|(r))(-|(w))(-|([xsStT]))(?=[-r][-w][-xsStT])
colours=unchanged,unchanged,yellow,unchanged,yellow,unchanged,yellow
=======
regexp=(?<=[-bcCdDlMnpPs?][-r][-w][-xsStT][-r][-w][-xsStT])(-|(r))(-|(w))(-|([xsStT]))
colours=unchanged,unchanged,red,unchanged,red,unchanged,red
=======
# user
regexp=(\ [a-z\-]+)\ +([a-z\-]+\ )|wheel(?=\s|$)
colours=magenta