mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
.gitattributes: keep adding build-in diffs
This commit is contained in:
parent
f0dd5fb1a7
commit
ab42bd67cd
15
.gitattributes
vendored
15
.gitattributes
vendored
@ -4,16 +4,30 @@
|
|||||||
|
|
||||||
# Built-in diff patterns (disabled by default). The attribute `diff` implies
|
# Built-in diff patterns (disabled by default). The attribute `diff` implies
|
||||||
# `text` and the above attributes are inherited.
|
# `text` and the above attributes are inherited.
|
||||||
|
# https://www.git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
|
||||||
|
# TODO
|
||||||
|
# diff=matlab
|
||||||
|
# diff=pascal
|
||||||
|
*.{adb,ads} diff=ada
|
||||||
*.bibtex diff=bibtex
|
*.bibtex diff=bibtex
|
||||||
|
*.cs diff=csharp
|
||||||
*.{c,cpp} diff=cpp
|
*.{c,cpp} diff=cpp
|
||||||
*.css diff=css
|
*.css diff=css
|
||||||
|
*.dts diff=dts
|
||||||
|
*.{ex,exs} diff=elixir
|
||||||
|
*.{f90,f,for} diff=fortran
|
||||||
|
*.fountain diff=fountain
|
||||||
*.go diff=golang
|
*.go diff=golang
|
||||||
*.html diff=html
|
*.html diff=html
|
||||||
*.java diff=java
|
*.java diff=java
|
||||||
|
*.{kt,kts} diff=kotlin
|
||||||
|
*.{h,m,mm,M} diff=objc
|
||||||
*.pl diff=perl
|
*.pl diff=perl
|
||||||
*.php diff=php
|
*.php diff=php
|
||||||
*.py diff=python
|
*.py diff=python
|
||||||
*.rb diff=ruby
|
*.rb diff=ruby
|
||||||
|
*.{rs,rlib} diff=rust
|
||||||
|
*.{scm,ss} diff=scheme
|
||||||
*.tex diff=tex
|
*.tex diff=tex
|
||||||
|
|
||||||
# bash & co aren't often Windows, so alway have lf line-endings regarldess
|
# bash & co aren't often Windows, so alway have lf line-endings regarldess
|
||||||
@ -21,6 +35,7 @@
|
|||||||
# requires lf line-endings.
|
# requires lf line-endings.
|
||||||
*.{sh,bash,zsh} diff=bash eol=lf
|
*.{sh,bash,zsh} diff=bash eol=lf
|
||||||
*.{md,markdown} text diff=markdown eol=lf
|
*.{md,markdown} text diff=markdown eol=lf
|
||||||
|
|
||||||
# While this file is like .gitignore, negative patterns are forbidden and
|
# While this file is like .gitignore, negative patterns are forbidden and
|
||||||
# directory/ wouldn't recurse, thus directory/**. Also !attribute would set
|
# directory/ wouldn't recurse, thus directory/**. Also !attribute would set
|
||||||
# it back to unset.
|
# it back to unset.
|
||||||
|
Loading…
Reference in New Issue
Block a user