templates/**/*.c.erb linguist-language=C
templates/**/*.h.erb linguist-language=C
templates/**/*.java.erb linguist-language=Java
templates/**/*.rb.erb linguist-language=Ruby

test/prism/fixtures/seattlerb/**/*.txt linguist-vendored
test/prism/fixtures/unparser/**/*.txt linguist-vendored
test/prism/fixtures/whitequark/**/*.txt linguist-vendored
test/prism/snapshots/**/*.txt linguist-generated

# All .rb files should have LF line ending, even on Windows, regardless of the git config core.autocrlf value.
# All .txt should have their line endings as committed in the repository (there are some intentional CR in there),
# regardless of the git config core.autocrlf value.
# See https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
**/*.rb text eol=lf
**/*.txt -text
