Recognize the Arduino extension as C++

pull/496/head
Stavros Korokithakis 2023-03-13 19:44:46 +07:00 committed by GitHub
parent c7bfc72529
commit 85b9493eaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -151,7 +151,7 @@ pub const LANG_EXTENSIONS: &[(Language, &[&str])] = &[
// Treat .h as C++ rather than C. This is an arbitrary choice, but
// C++ is more widely used than C according to
// https://madnight.github.io/githut/
(CPlusPlus, &["cc", "cpp", "h", "hh", "hpp", "cxx"]),
(CPlusPlus, &["cc", "cpp", "h", "hh", "hpp", "ino", "cxx"]),
(CSharp, &["cs"]),
(Css, &["css"]),
(Dart, &["dart"]),