.gitattributes: enable linguist detection

This commit is contained in:
Aminda Suomalainen 2023-02-17 14:34:54 +02:00
parent 1943cf1285
commit b71bc77779
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

8
.gitattributes vendored
View File

@ -1,6 +1,6 @@
* text=auto eol=lf -linguist-detectable * text=auto eol=lf linguist-detectable
# Windows files even in checkout # Windows files even in checkout
# Ref: https://rehansaeed.com/gitattributes-best-practices/#line-endings # Ref: https://rehansaeed.com/gitattributes-best-practices/#line-endings
*.{reg,[rR][eE][gG]} text eol=crlf -linguist-detectable *.{reg,[rR][eE][gG]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf -linguist-detectable *.{bat,[bB][aA][tT]} text eol=crlf
*.{ahk,[aA][hH][kK]} text eol=crlf -linguist-detectable *.{ahk,[aA][hH][kK]} text eol=crlf