Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Third-party tree-sitter grammars that the native kernel compiles from source
# (codegraph-kernel/build.rs). Keep all of them out of GitHub's language
# statistics, and collapse only the generated parser.c files in pull-request
# diffs. The hand-written scanner.c files are where C gets patched or added,
# so they stay expanded for review.
# The /** is needed: an attributes pattern that names a directory does not
# reach the files inside it.
codegraph-kernel/grammars/** linguist-vendored
codegraph-kernel/grammars/**/parser.c linguist-generated