-
Notifications
You must be signed in to change notification settings - Fork 18
/
.gitattributes
60 lines (55 loc) · 2.28 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
# Force LF line endings for all text files used by the game and/or by utilities used for EMF.
*.txt text eol=lf
*.csv text eol=lf
*.lua text eol=lf
*.gui text eol=lf
*.gfx text eol=lf
*.py text eol=lf
*.py3 text eol=lf
*.pl text eol=lf
*.sh text eol=lf
*.bash text eol=lf
*.md text eol=lf
*.json text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.html text eol=lf
*.css text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Setup better diffs
*.py text diff=python
*.py3 text diff=python
*.pl text diff=perl
*.html text diff=html
*.css text diff=css
*.doc text diff=astextplain
*.DOC text diff=astextplain
*.docx text diff=astextplain
*.DOCX text diff=astextplain
*.dot text diff=astextplain
*.DOT text diff=astextplain
*.pdf text diff=astextplain
*.PDF text diff=astextplain
*.rtf text diff=astextplain
*.RTF text diff=astextplain
# Git diff tools set to use CP-1252 encoding on text files used by the game
# NOTE: "encoding" attribute ONLY sets how Git tools interpret files.
# It does NOT force those files to use a particular encoding.
EMF*/**/*.txt encoding=cp1252
EMF/EMF_changelog.txt encoding=utf-8
EMF*/**/*.csv encoding=cp1252
EMF*/**/*.lua encoding=cp1252
*.gui encoding=cp1252
*.gfx encoding=cp1252
# Whitespace settings
* whitespace=indent-with-non-tab,trailing-space,space-before-tab,tabwidth=4
*.py whitespace=trailing-space,space-before-tab,tabwidth=4
*.py3 whitespace=trailing-space,space-before-tab,tabwidth=4
# Explicit binary definition for graphics used by CK2
*.tga binary
*.dds binary
*.bmp binary
*.pdn binary