Closed skshetry closed 3 years ago
We should add syntax highlighting for dvc.lock and .dvc files as an yaml file. We can do so by using .gitattributes to force Linguist to highlight as such in Github.
.gitattributes
The following text should be kept in .gitattributes:
*.dvc linguist-language=YAML dvc.lock linguist-language=YAML
See https://github.com/skshetry/example-get-started/blob/e67562ec1983bbcee0e5282227d0d47564c54eb2/dvc.lock for an example.
Until we add the dvc.lock and .dvc to the linguist for syntax highlighting those files automatically.
We should add syntax highlighting for dvc.lock and .dvc files as an yaml file. We can do so by using
.gitattributes
to force Linguist to highlight as such in Github.The following text should be kept in
.gitattributes
:See https://github.com/skshetry/example-get-started/blob/e67562ec1983bbcee0e5282227d0d47564c54eb2/dvc.lock for an example.
Until we add the dvc.lock and .dvc to the linguist for syntax highlighting those files automatically.