From 1feb121176e2270d67f8cbf99f3598ffe98dfb46 Mon Sep 17 00:00:00 2001 From: ByteCorum <164874887+ByteCorum@users.noreply.github.com> Date: Mon, 8 Apr 2024 21:05:45 +0300 Subject: [PATCH] Update .gitattributes --- .gitattributes | 56 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3283b5f..4981f96 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,58 @@ -# Auto detect text files and perform LF normalization +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. * text=auto +# The above will handle all files NOT found below + + + +# These files are text and should be normalized (Convert crlf => lf) +.gitattributes text +.gitignore text +*.md text diff=Markdown +*.cs text diff=CSharp +*.cpp text diff=C++ +*.hpp text diff=C++ +*.h text diff=C +*.c text diff=C +*.rc text diff=Assembly +CMakeLists.txt text diff=CMake + + + +# Exclude files from exporting + +.gitattributes export-ignore +.gitignore export-ignore + + + +# Enable syntax highlighting for files with extensions. + +*.md linguist-language=Markdown +*.md linguist-detectable=true + +*.cs linguist-language=CSharp +*.cs linguist-detectable=true + +*.cpp linguist-language=C++ +*.cpp linguist-detectable=true + +*.hpp linguist-language=C++ +*.hpp linguist-detectable=true + +*.h linguist-language=C +*.h linguist-detectable=true + +*.c linguist-language=C +*.c linguist-detectable=true + *.rc linguist-language=Assembly +*.rc linguist-detectable=true + +CMakeLists.txt linguist-language=CMake +CMakeLists.txt linguist-detectable=true + + +#Ignore dirs/files -#ignore dirs/files DragonBurn/Resources/* linguist-vendored