-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
16 lines (16 loc) · 785 Bytes
/
Copy path.gitattributes
File metadata and controls
16 lines (16 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# GitHub Linguist overrides.
#
# The Gata test fixtures under tests/Fixtures are *.g, which Linguist maps to
# GAP (see languages.yml), so without this the repo reports a GAP slice next to
# the C#. Gata is not a Linguist-recognised language; these settings borrow a
# grammar for highlighting and keep the fixtures out of the language statistics.
# Kept in sync with the same block in the Gata repository.
#
# linguist-language -> picks the TextMate grammar used to highlight blobs/diffs
# linguist-detectable -> whether the files count toward the language bar
#
# Swift is the closest grammar by keyword overlap with Gata: func, let, self,
# class, public, import, as, while, else, return, if, plus // and /* */
# comments.
*.g linguist-language=Swift
*.g linguist-detectable=false