From ed479002699aa83ca49561453a5677be7a02517e Mon Sep 17 00:00:00 2001 From: urob <978080+urob@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:55:07 -0400 Subject: [PATCH] Fix syntax highlighting Github syntax highlighting broke at some point over the past month or so. From its documentation, it is not clear to me what changeds. This is somewhat of a longshot attempt to making it work again. https://github.com/github-linguist/linguist/blob/master/docs/overrides.md --- .gitattributes | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 9b2b33d..7cb3b9c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ -*.dtsi linguist-language=C++ -*.keymap linguist-language=C++ +# Highlight keymap files as C++, which is better than nothing. +*.dtsi text linguist-language=C++ +*.keymap text linguist-language=C++