github-linguist / github-linguist/linguist
Include `.rs.template` in Rust syntax
- Dominant language
- Ruby
- Stars
- 13.7k
- Forks
- 5.4k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 17
Description
## Preliminary Steps
Please confirm you have...
- [x] reviewed [How Linguist Works](https://github.com/github/linguist#how-linguist-works),
- [x] reviewed the [Troubleshooting](https://github.com/github/linguist#troubleshooting) docs,
- [ ] considered implementing an [override](https://github.com/github/linguist#overrides),
- [x] verified an issue has not already been logged for your issue ([linguist issues](https://github.com/issues?utf8=%E2%9C%93&q=is%3Aissue+repo%3Agithub/linguist)).
## Problem Description
Rust template files don't show with the Rust syntax.
### URL of the affected repository:
Example [here](https://github.com/intellij-rust/intellij-rust/pull/6414/files)
### Last modified on:
2020-11-19
### Expected language:
Rust
### Detected language:
None
Contributor guide
Research direction
Start with the How Linguist Works and Troubleshooting documentation, then inspect the language-detection rules used for the Rust language. Use the linked intellij-rust example to reproduce the behavior; done means files ending in .rs.template are detected and displayed with Rust syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100