forked from andre-simon/highlight
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitattributes
227 lines (199 loc) · 5.58 KB
/
.gitattributes
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# ==============================================================================
# Excluded Files from Git Archive Exports
# ==============================================================================
/src/w32-projects export-ignore
/src/gui-qt/.qmake.stash export-ignore
highlight3.kdev4 export-ignore
.gitattributes export-ignore
.gitignore export-ignore
# ==============================================================================
# Line Endings Conversion
# ==============================================================================
# Set Git's default behaviour to text-files autodetection, in case users don't
# have `core.autocrlf` set:
* text=auto
# ------------------------------------------------------------------------------
# Text Files (EOL Normalization Settings)
# ------------------------------------------------------------------------------
## =================
## LANGDEFS & THEMES
## =================
*.lang text
*.theme text
## =================
## SOURCE CODE FILES
## =================
## Miscellanea (from /examples/)
## -----------------------------
*.i text
*.pp text
*.rb text
*.erb text
## C/C++
## -----
*.c text
*.c++ text
*.cc text
*.cpp text
*.cxx text
*.h text
*.h++ text
*.hh text
*.hpp text
## Shell scripts
## -------------
*.bat text eol=crlf
*.com text eol=crlf
*.sh text eol=lf
*.bash text eol=lf
*.fish text eol=lf
## Scripts
## -------
*.lua text
*.php text
*.pl text
*.pm text
*.py text
*.rb text
*.sql text
*.tcl text
## ========
## QT FILES
## ========
*.pro text
*.pro.user text
*.qrc text
*.ts text
*.ui text
## ==============
## RESOURCE FILES
## ==============
*.rc text eol=crlf
*.xpm text eol=lf
## ==================
## MISC. DATA FORMATS
## ==================
*.json text
*.xml text
*.xhtml text
## =================
## WEB-RELATED FILES
## =================
*.htm text
*.html text
*.css text
*.map.css text
*.js text
*.sass text
*.scss text
# Exceptions for Dart Sass generated files:
extras/AsciiDoc/*.css text eol=lf
extras/langs-examples/*.css text eol=lf
## ===================
## DOCUMENTATION FILES
## ===================
*.adoc text
*.asciidoc text
*.markdown text
*.md text
*.txt text
*COPYRIGHT* text
*README* text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
INSTALL text
license text
LICENSE text
NEWS text
readme text
TODO text
# ----------
# Exceptions
# ----------
# auto-generated files:
README_LANGLIST.adoc text eol=lf
## ===================
## CONFIGURATION FILES
## ===================
*.conf text
*.desktop text eol=lf
*.iss text eol=crlf
*.kdev4 text eol=lf
## Repository settings
## -------------------
.editorconfig text eol=lf
.gitlab-ci.yml text eol=lf
## Git settings
## ----------
.gitattributes text eol=lf
.gitconfig text eol=lf
.gitignore text eol=lf
## Make files
## ----------
Makefile text eol=lf
makefile text eol=lf
*.Debug text eol=lf
*.Release text eol=lf
# ------------------------------------------------------------------------------
# Binary Files
# ------------------------------------------------------------------------------
# Explicitly declare all files that are binary and shouldn't be modified by Git:
## =================
## COMPILERS' OUTPUT
## =================
## Shared/Dynamic libraries
## ------------------------
*.dll binary
*.dylib binary
*.so binary
## ========
## QT FILES
## ========
*.qm binary
## ========
## GRAPHICS
## ========
*.bmp binary
*.gif binary
*.icns binary
*.ico binary
*.jpeg binary
*.jpg binary
*.png binary
## ========
## ARCHIVES
## ========
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary
# ==============================================================================
# Language Settings
# ==============================================================================
# Manually define/override some file extension so that GitHub and GitLab can
# 1) correctly gather statistics on source files, and
# 2) use proper syntax highlighting on GitHub's WebUI.
# ------------------------------------------------------------------------------
# GitLab Syntax Highlighting
# ------------------------------------------------------------------------------
# https://docs.gitlab.com/ee/user/project/highlighting.html
## =================
## LANGDEFS & THEMES
## =================
*.lang gitlab-language=Lua
*.theme gitlab-language=Lua
# ------------------------------------------------------------------------------
# GitHub Linguist
# ------------------------------------------------------------------------------
# https://github.com/github/linguist
## =================
## LANGDEFS & THEMES
## =================
*.lang linguist-language=Lua
*.theme linguist-language=Lua