enable linguist detection

This commit is contained in:
Aminda Suomalainen 2023-02-17 14:35:48 +02:00
parent 358838f13d
commit 5821307086
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

10
.gitattributes vendored
View File

@ -1,16 +1,16 @@
# Normalize line endings for text files # Normalize line endings for text files
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion # https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto -linguist-detectable * text=auto linguist-detectable
# Unlikely to be ran under Windows, Linux line endings # Unlikely to be ran under Windows, Linux line endings
*.bash text eol=lf -linguist-detectable *.bash text eol=lf
# While this repository doesn't currently have anything for Windows, I may # While this repository doesn't currently have anything for Windows, I may
# use this for reference # use this for reference
# https://rehansaeed.com/gitattributes-best-practices/#line-endings # 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
# LFS with(/out) locking https://github.com/git-lfs/git-lfs/wiki/File-Locking # LFS with(/out) locking https://github.com/git-lfs/git-lfs/wiki/File-Locking
*.png filter=lfs diff=lfs merge=lfs -text lockable *.png filter=lfs diff=lfs merge=lfs -text lockable