mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-05 20:42:26 +00:00
github linguist git attributes for oberon
This commit is contained in:
parent
c85f7e5b7b
commit
adf12780d1
1 changed files with 40 additions and 0 deletions
40
.gitattributes
vendored
Normal file
40
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Cygwin git and github for windows differ in their eol convention: Github for
|
||||||
|
# windows uses crlf, but cygwin git uses LF.
|
||||||
|
# Since we want the same enlistment to work both ways, we need to specify and stick
|
||||||
|
# with end of line convention for all files.
|
||||||
|
# Therefore we choose LF for all files except windows command scripts.
|
||||||
|
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
*.md text eol=lf
|
||||||
|
*.c text eol=lf
|
||||||
|
*.h text eol=lf
|
||||||
|
*.Mod text eol=lf
|
||||||
|
*.mod text eol=lf
|
||||||
|
*.Lola text eol=lf
|
||||||
|
*.lola text eol=lf
|
||||||
|
*.make text eol=lf
|
||||||
|
*makefile text eol=lf
|
||||||
|
*.sh text eol=lf
|
||||||
|
.git* text eol=lf
|
||||||
|
|
||||||
|
*.cmd text eol=crlf
|
||||||
|
|
||||||
|
|
||||||
|
# Symbol files are binaries
|
||||||
|
*.sym binary
|
||||||
|
|
||||||
|
# Other binaries (these are not normally checked in.)
|
||||||
|
*.o binary
|
||||||
|
*.obj binary
|
||||||
|
*stackdump binary
|
||||||
|
*exe binary
|
||||||
|
|
||||||
|
# Provide type information to improve block annotation in git diff output.
|
||||||
|
*.Mod diff=pascal
|
||||||
|
*.c diff=cpp
|
||||||
|
*.h diff=cpp
|
||||||
|
|
||||||
|
# Set the language to Oberon
|
||||||
|
*.Mod linguist-language=Oberon
|
||||||
|
*.mod linguist-language=Oberon
|
||||||
Loading…
Add table
Add a link
Reference in a new issue