commit | 1f15f01efa7f4a87c21b179ad4c82be73f5bbdd3 | [log] [tgz] |
---|---|---|
author | Chandan Singh <chandan@chandansingh.net> | Thu May 11 15:02:55 2023 -0700 |
committer | GitHub <noreply@github.com> | Thu May 11 15:02:55 2023 -0700 |
tree | da2dc272929ca59d9c23fa016f65eaca37f362cf | |
parent | a557fefe98514710c555452433020141ad0f55cc [diff] |
Add .gitattributes to syntax highlight bst files as yaml Add a `.gitattributes` file to suggest GitHub Linguist to treat `.bst` files and `project.conf` file anywhere in the project as YAML for the purposes of syntax highlighting. If we agree with this change, we can also add something in our documentation to suggest users to add something similar to their projects. Although that suggestion will depend on the Git hosting service used. GitHub and GitLab both support overrides via `.gitattributes` file but use different keywords. See: * https://github.com/github-linguist/linguist/blob/master/docs/overrides.md#using-gitattributes * https://docs.gitlab.com/ee/user/project/highlighting.html#override-syntax-highlighting-for-a-file-type