mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:20:10 +01:00
This tells Github to detect files having the extension .def as C++ files, which ensures that these files get syntax highlighted prpperly. I'm not sure whether more files like these are present throughout the repo. FWIW, it can also be configured to do other things, such as detect generated, vendored files and exclude these from the Github stats. See https://github.com/github-linguist/linguist/blob/master/docs/overrides.md.
8 lines
364 B
Plaintext
8 lines
364 B
Plaintext
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
# This tells Github to detect files having the extension `.def` as `C++` files, which
|
|
# ensures that these files get syntax highlighted properly.
|
|
*.def linguist-language=C++
|