summaryrefslogtreecommitdiff
path: root/gitattributes
diff options
context:
space:
mode:
authorNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-04 18:12:54 -0700
committerNicholas Van Doorn <vandoorn.nick@gmail.com>2021-08-17 10:47:48 -0700
commit6af4ba943f6b73e31a0b2bd0262d953a2e954ddb (patch)
tree0cf7b1d160d0671eeacb66004433b63572b96ebd /gitattributes
Initial commit
Diffstat (limited to 'gitattributes')
-rw-r--r--gitattributes31
1 files changed, 31 insertions, 0 deletions
diff --git a/gitattributes b/gitattributes
new file mode 100644
index 0000000..c7be8d9
--- /dev/null
+++ b/gitattributes
@@ -0,0 +1,31 @@
+*_spec.rb diff=rspec
+*.erb diff=html
+
+# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
+
+*.c diff=cpp
+*.h diff=cpp
+*.c++ diff=cpp
+*.h++ diff=cpp
+*.cpp diff=cpp
+*.hpp diff=cpp
+*.cc diff=cpp
+*.hh diff=cpp
+*.m diff=objc
+*.mm diff=objc
+*.cs diff=csharp
+*.css diff=css
+*.html diff=html
+*.xhtml diff=html
+*.ex diff=elixir
+*.exs diff=elixir
+*.go diff=golang
+*.php diff=php
+*.pl diff=perl
+*.py diff=python
+*.md diff=markdown
+*.rb diff=ruby
+*.rake diff=ruby
+*.rs diff=rust
+*.lisp diff=lisp
+*.el diff=lisp