From b6c291ae0c0122ae70681bcdcda723f43450a7e8 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 27 Oct 2019 20:51:54 +0000 Subject: Split from compiler repository --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2c77e1d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# We want fancy syntax highlighting on GitHub, though GitHub doesn't know how +# to speak Gleam. Until it does (maybe one day!) we'll tell GitHub that these +# files are Rust, which has a similar enough syntax for the highlighting to +# work in most cases. +# The only caveat is that we need to add a `;` after each use of the `type` +# keyword as our type syntax is different to theirs in a way that confuses +# GitHub. +*.gleam linguist-language=Rust + +# Erlang files generated by the Gleam compiler +/gen/*/*.erl linguist-generated=true +/docs/**/* linguist-generated=true -- cgit v1.2.3