shell-things/.gitattributes

43 lines
874 B
Plaintext

* text=auto eol=lf linguist-detectable
# doctoc doesn't support other line endings
*.md diff=markdown eol=lf
*.markdown diff=markdown eol=lf
# Set for not-normalized/unmergeable diffable
# files
[attr]binaryd diff -merge -text
# Windows
*.reg text eol=crlf
*.bat text eol=crlf
*.ahk text eol=crlf
# Files I want to exclude from language detection
package.json text linguist-vendored
pnpm-lock.yaml text linguist-vendored
# `man gitattributes`, "Defining a custom hunk-header"
# mainly here for being template
*.bibtex diff=bibtex
*.cs diff=csharp
*.c diff=cpp
*.cpp diff=cpp
*.css diff=css
*.dts diff=dts
*.ex diff=elixir
*.exs diff=elixir
*.go diff=golang
*.html diff=html
*.java diff=java
*.kt diff=kotlin
*.kts diff=kotlin
*.pl diff=perl
*.php diff=php
*.py diff=python
*.rb diff=ruby
*.rs diff=rust
*.rlib diff=rust
*.scm diff=scheme
*.ss diff=scheme
*.tex diff=tex