[highlighting]
is_line_number = true
token_charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
vec_extention = ["py"]
vec_filename = []
single_line_comment = "#"
multi_line_comment_begin = ""
multi_line_comment_end = ""
is_escape_char = true
example = """
#Shadok example
def function():
print("hello world")
"""
[[keyword]]
style = "dsKeyword"
vec_token = [
"return",
"if",
"else",
"for",
"while",
"do",
"class",
"in",
"def",
"assert",
"try",
"except",
"raise",
]
vec_match = []
[[keyword]]
style = "pyValue"
vec_token = [
"True",
"False",
"self",
"None",
]
vec_match = []
[[keyword]]
style = "pyFunction"
vec_token = [
"open",
"type",
"file",
"print",
"str",
"range",
"float",
"int",
"len",
"__name__",
"zip",
"enumerate",
]
vec_match = []
[[keyword]]
style = "pyAction"
vec_token = [
"import",
"from",
"as",
]
vec_match = []
[[getuntil]]
style = "dsString"
start_token = "\""
end_token = "\""
[[getuntil]]
style = "dsString"
start_token = "'"
end_token = "'"
[[getuntil]]
style = "dsCommentMono"
start_token = "#"
end_token = "\n"
[[getuntil]]
style = "dsCommentMulti"
start_token = "\"\"\""
end_token = "\"\"\""
[[getuntil]]
style = "dsCommentMulti"
start_token = "'''"
end_token = "'''"
[[sequence]]
style = "dsNumber"
vec_step = [
{oneof = "1234567890"},
{oneof = "lu"}
]
[[sequence]]
style = "dsNumber"
vec_step = [
{token = "."},
{oneof = "1234567890"},
{oneof = "f"}
]