Skip to content

Commit

Permalink
Use GitHub C syntax highlighting on test files
Browse files Browse the repository at this point in the history
Add a .gitattributes file that tells GitHub to highlight all .function
files as if they were .c files. This aids in reviewing changes to tests.

Signed-off-by: David Horstmann <[email protected]>
  • Loading branch information
davidhorstmann-arm committed Sep 20, 2022
1 parent 7c7a3ea commit 6af9ad3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Classify all '.function' files as C for syntax highlighting purposes
*.function linguist-language=C

0 comments on commit 6af9ad3

Please sign in to comment.