-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtagmap.py
More file actions
28 lines (25 loc) · 795 Bytes
/
tagmap.py
File metadata and controls
28 lines (25 loc) · 795 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
#!/usr/bin/python
tag_list=[]
def importags(tl=tag_list):
title = [
{ "fg": "red", "bold": True, "underline": True }
]
code = [
{ "fg": "blue", "italic": True }
]
exe = [
{ "fg": "green", "bold": True }
]
folder = [
{ "fg": "blue", "bold": True }
]
infile = [
{ "fg": "green" }
]
#[ label, count, state, parent, object, show, dump ]
tl.append([ "filesys", 0, 1, None, None, True, False ])
tl.append([ "executable", 0, 1, "filesys", exe, True, False ])
tl.append([ "infile", 0, 1, "filesys", infile, True, False ])
tl.append([ "folder", 0, 1, "filesys", folder, True, False ])
tl.append([ "title", 0, 1, None, title, True, False ])
tl.append([ "code", 0, 1, None, code, True, False ])