-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
140 lines (132 loc) · 7.45 KB
/
Copy path.gitattributes
File metadata and controls
140 lines (132 loc) · 7.45 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Keep source files portable and prevent binary assets from entering text
# normalization or diff pipelines.
* text=auto eol=lf
*.png binary
# Include data/config languages in GitHub language statistics. Linguist omits
# these from the language breakdown by default, but this repo treats them as
# first-class source for editor, OS, provisioning, and application behavior.
*.json linguist-detectable
*.jsonc linguist-detectable
*.ini linguist-detectable
*.kdl linguist-detectable
*.plist linguist-detectable
*.tmTheme linguist-detectable
*.toml linguist-detectable
*.xml linguist-detectable
*.yaml linguist-detectable
*.yml linguist-detectable
.gitattributes linguist-detectable -linguist-vendored
.gitignore linguist-detectable -linguist-vendored
.dockerignore linguist-detectable
# Classify chezmoi templates and extension-less scripts by their rendered
# language so they contribute alongside the matching source files.
*.bash.tmpl linguist-language=Shell
*.conf.tmpl linguist-language=INI linguist-detectable
*.css.in linguist-language=CSS
*.gitconfig.tmpl linguist-language=gitconfig linguist-detectable
*.glsl.tmpl linguist-language=GLSL
*.ghostty.tmpl linguist-language=INI linguist-detectable
# Linguist has no HJSON entry; JSON5 is the closest supported data syntax.
*.hjson.tmpl linguist-language=JSON5 linguist-detectable
*.j2 linguist-language=Jinja
*.jsonc.tmpl linguist-language=jsonc linguist-detectable
*.json.tmpl linguist-language=JSON linguist-detectable
*.kdl.tmpl linguist-language=KDL linguist-detectable
*.nix.tmpl linguist-language=Nix
*.opts.tmpl linguist-language=Go-Template
*.py.in linguist-language=Python
*.py.tmpl linguist-language=Python
*.ron.tmpl linguist-language=RON linguist-detectable
*.sh.tmpl linguist-language=Shell
*.theme.tmpl linguist-language=INI linguist-detectable
*.tmTheme.tmpl linguist-language=XML-Property-List linguist-detectable
*.toml.tmpl linguist-language=TOML linguist-detectable
*.yaml.tmpl linguist-language=YAML linguist-detectable
*.yml.tmpl linguist-language=YAML linguist-detectable
*.zsh.tmpl linguist-language=Shell
dotfiles/.chezmoitemplates/theme_rgb linguist-language=Go-Template
dotfiles/.chezmoitemplates/executable_fingerprint linguist-language=Go-Template
dotfiles/dot_bash_profile.tmpl linguist-language=Shell
dotfiles/dot_bashenv.tmpl linguist-language=Shell
dotfiles/dot_bashrc.tmpl linguist-language=Shell
dotfiles/dot_gitconfig.tmpl linguist-language=gitconfig linguist-detectable
dotfiles/dot_gitignore_global linguist-language=Ignore-List linguist-detectable
dotfiles/dot_local/share/applications/*.desktop.tmpl linguist-language=desktop linguist-detectable
dotfiles/private_dot_ssh/private_config.tmpl linguist-language=sshconfig linguist-detectable
dotfiles/dot_zshenv.tmpl linguist-language=Shell
dotfiles/dot_zshrc.tmpl linguist-language=Shell
# Cover config formats whose extensions are either too generic or unknown to
# Linguist, while still using known Linguist language names where available.
.ansible-lint linguist-language=YAML linguist-detectable
.clang-format linguist-detectable
.shellcheckrc linguist-detectable
.yamllint linguist-language=YAML linguist-detectable
dotfiles/.chezmoiignore linguist-language=Ignore-List linguist-detectable
dotfiles/.chezmoiremove linguist-language=Ignore-List linguist-detectable
*.cfg linguist-detectable
*.cnf.in linguist-language=INI linguist-detectable
*.conf linguist-language=INI linguist-detectable
# Linguist has no AppArmor language entry; Text keeps policy sources visible
# without misclassifying them as the syntactically different SELinux DSL.
*.apparmor linguist-language=Text linguist-detectable
*.fc linguist-language=sepolicy linguist-detectable
*.if linguist-language=sepolicy linguist-detectable
*.path linguist-language=INI linguist-detectable
*.plist.in linguist-language=XML-Property-List linguist-detectable
*.repo linguist-language=INI linguist-detectable
*.rules linguist-language=INI linguist-detectable
*.service linguist-detectable
*.timer linguist-detectable
*.desktop linguist-detectable
*.te linguist-detectable
*.theme linguist-language=INI linguist-detectable
# Linguist does not have a Kanata language entry; Kanata config uses
# s-expression syntax, so Scheme is the closest supported highlighter.
**/*.kbd linguist-language=Scheme
# Hidden GitHub/VS Code configuration is repo-owned source, but Linguist treats
# these paths as vendored by default. Generated attributes
# below still take precedence for lockfiles inside these directories.
.github/** -linguist-vendored
.vscode/*.json -linguist-vendored linguist-detectable
# Plain-text files below are executable repository configuration or managed
# data rather than documentation, so include them without inventing a DSL.
.chezmoiroot linguist-language=Text linguist-detectable
.python-version linguist-language=Text linguist-detectable
.tool-versions linguist-language=Text linguist-detectable
containers/*.txt linguist-language=Text linguist-detectable
dotfiles/.chezmoiversion linguist-language=Text linguist-detectable
dotfiles/dot_config/fastfetch/*.txt linguist-language=Text linguist-detectable
dotfiles/dot_local/bin/symlink_* linguist-language=Text linguist-detectable
dotfiles/private_dot_ssh/allowed_signers linguist-language=Text linguist-detectable
dotfiles/private_dot_ssh/known_hosts.d/* linguist-language=Text linguist-detectable
dotfiles/dot_zprofile linguist-language=Shell
# Linguist vendors TypeScript declaration files globally. These declarations
# describe local extension runtimes and should count with the package sources.
packages/hyper-window-tiling/src/**/*.d.ts -linguist-vendored
# These files are checked in generated/runtime artifacts built from package
# sources, host discovery, encryption tools, dependency resolvers, or schemas.
# Keep dependency locks out of Linguist statistics at every directory depth.
# The patterns cover conventional locks, binary locks, lockfile extensions,
# compound names such as packages.lock.json.
*.lock linguist-generated
*.lock.* linguist-generated
*.lockb linguist-generated
*.lockfile linguist-generated
package-lock.json linguist-generated
pnpm-lock.yaml linguist-generated
pnpm-lock.yml linguist-generated
hosts/**/hardware-configuration.nix linguist-generated
packages/hyper-window-tiling/bun.nix linguist-generated
packages/**/dist/** linguist-generated
secrets/*.yaml linguist-generated
# Lock GitHub's native language bar to a fixed six-color palette. Everything
# is excluded by default; only the fixed-size ballast files below contribute.
# Clear earlier language overrides so every forge applies the exclusion. The
# one-byte size steps fix the order while all segments round to the same width.
* !linguist-language !gitlab-language -linguist-detectable
.github/linguist-palette/01-red.yaml linguist-language=YAML linguist-detectable -linguist-generated -linguist-vendored -linguist-documentation
.github/linguist-palette/02-orange.zig linguist-language=Zig linguist-detectable -linguist-generated -linguist-vendored -linguist-documentation
.github/linguist-palette/03-yellow.js linguist-language=JavaScript linguist-detectable -linguist-generated -linguist-vendored -linguist-documentation
.github/linguist-palette/04-green.sh linguist-language=Shell linguist-detectable -linguist-generated -linguist-vendored -linguist-documentation
.github/linguist-palette/05-blue.py linguist-language=Python linguist-detectable -linguist-generated -linguist-vendored -linguist-documentation
.github/linguist-palette/06-violet.nix linguist-language=Nix linguist-detectable -linguist-generated -linguist-vendored -linguist-documentation