diff --git a/.gitattributes b/.gitattributes index 5328a94eb..1fdb94741 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,9 +5,10 @@ # let git show off diff hunk headers, help git diff -L: # https://git-scm.com/docs/gitattributes -*.cpp diff=cpp +*.c diff=cpp *.h diff=cpp *.py diff=py +*.rs diff=rust # add a [diff "fish"] to git config with pattern *.fish diff=fish @@ -24,11 +25,9 @@ # to make cargo vendor work correctly /.cargo/config.toml -# for linguist; let github identify our project as C++ instead of C due to pcre2 -pcre2/** linguist-vendored +# for linguist, which drives GitHub's language statistics alpine.js linguist-vendored doc_src/** linguist-documentation *.fish linguist-language=fish -src/*.h linguist-language=c++ -src/builtins/*.h linguist-language=c++ +# see 70f2899fcd which attempts to "rig the count" share/completions/*.fish linguist-documentation