From b5d884815c9e95900fb2fc209150b7d6d43a8c27 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Tue, 20 Sep 2022 13:22:07 +0100 Subject: [PATCH] Use GitHub C syntax highlighting on test files 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 --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..ceb59d7d0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Classify all '.function' files as C for syntax highlighting purposes +*.function linguist-language=C