shell-things/.gitattributes

43 lines
874 B
Plaintext
Raw Normal View History

2024-06-06 19:38:36 +02:00
* text=auto eol=lf linguist-detectable
2024-07-15 08:20:17 +02:00
# doctoc doesn't support other line endings
*.md diff=markdown eol=lf
*.markdown diff=markdown eol=lf
2024-07-15 08:20:17 +02:00
# Set for not-normalized/unmergeable diffable
# files
[attr]binaryd diff -merge -text
2024-07-15 08:20:17 +02:00
# 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
2024-06-06 19:38:36 +02:00
*.bibtex diff=bibtex
*.cs diff=csharp
2024-07-15 08:20:17 +02:00
*.c diff=cpp
*.cpp diff=cpp
2024-06-06 19:38:36 +02:00
*.css diff=css
*.dts diff=dts
2024-07-15 08:20:17 +02:00
*.ex diff=elixir
*.exs diff=elixir
2024-06-06 19:38:36 +02:00
*.go diff=golang
*.html diff=html
*.java diff=java
2024-07-15 08:20:17 +02:00
*.kt diff=kotlin
*.kts diff=kotlin
2024-06-06 19:38:36 +02:00
*.pl diff=perl
*.php diff=php
*.py diff=python
*.rb diff=ruby
2024-07-15 08:20:17 +02:00
*.rs diff=rust
*.rlib diff=rust
*.scm diff=scheme
*.ss diff=scheme
2024-06-06 19:38:36 +02:00
*.tex diff=tex