mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
70f2899fcd
This is a dishonest change that classifies our completion scripts as a type of documentation, which should prevent share/completions contributing to the language breakdown as shell scripts. Goal here is for fish-shell to be classified C++ on GitHub. Prior to commit: Shell 57.1% C++ 38.3% Python 3.0% CMake 0.7% JavaScript 0.4% HTML 0.2% Other 0.3%
33 lines
879 B
Text
33 lines
879 B
Text
# normalize newlines
|
|
* text=auto
|
|
*.fish text
|
|
*.bat eol=crlf
|
|
|
|
# let git show off diff hunk headers, help git diff -L:
|
|
# https://git-scm.com/docs/gitattributes
|
|
*.cpp diff=cpp
|
|
*.h diff=cpp
|
|
*.py diff=py
|
|
# add a [diff "fish"] to git config with pattern
|
|
*.fish diff=fish
|
|
|
|
# omit from git archive
|
|
.gitattributes export-ignore
|
|
.gitignore export-ignore
|
|
/build_tools/make_tarball.sh export-ignore
|
|
/debian export-ignore
|
|
/debian/* export-ignore
|
|
/.github export-ignore
|
|
/.github/* export-ignore
|
|
/.builds export-ignore
|
|
/.builds/* export-ignore
|
|
|
|
# for linguist; let github identify our project as C++ instead of C due to pcre2
|
|
pcre2/** linguist-vendored
|
|
angular.js linguist-vendored
|
|
angular-*.js linguist-vendored
|
|
doc_src/** linguist-documentation
|
|
*.fish linguist-language=fish
|
|
src/*.h linguist-language=c++
|
|
src/builtins/*.h linguist-language=c++
|
|
share/completions/*.fish linguist-documentation
|