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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Tree2 Configuration File (TOML)
# Place this file in:
# Windows: %USERPROFILE%\.tree2\tree2.toml or %APPDATA%\.tree2\tree2.toml
# Linux/Mac: ~/.tree2/tree2.toml or ~/.config/.tree2/tree2.toml
# Default folders/files to exclude (in addition to .git, .svn, etc.)
= [
# Build directories
"target",
"build",
"dist",
"out",
# Dependencies
"node_modules",
"vendor",
".venv",
"venv",
"__pycache__",
# IDE files (additional to default)
".idea",
".vscode",
"*.sublime-project",
"*.sublime-workspace",
# Temporary files
"*.tmp",
"*.cache",
".cache",
# OS files (additional to default)
".DS_Store",
"Thumbs.db",
]
# Ignore files to automatically load
# If not specified, uses default list (.gitignore, .dockerignore, .pt, etc.)
= [
".gitignore",
".dockerignore",
".pt",
# Add custom ignore files here
# ".myignore",
]
# Exception patterns - files/folders to NEVER exclude
# Supports wildcards (*) and regex (prefix with "regex:")
= [
# Keep all markdown files even if ignored
"*.md",
# Keep README files
"README*",
# Keep license files
"LICENSE*",
# Keep important config files
"*.toml",
"*.json",
# Regex example: keep all test files
# "regex:^test.*\\.rs$",
]