Skip to content

Commit

Permalink
add c3
Browse files Browse the repository at this point in the history
  • Loading branch information
aslilac committed May 13, 2024
1 parent e4daf0e commit c755566
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kc # Tally up the current directory
kc /src/project # Tally up another directory
```

![A screenshot of kc counting its own code](https://cdn.mckayla.cloud/-/HfplxUP/kc.webp)
![the results of kc scanning a codebase containing several programming languages](https://cdn.mckayla.cloud/-/HfplxUP/kc.webp)
10 changes: 7 additions & 3 deletions src/langs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ pub enum Language {
Co,
Cobol,
CommonLisp,
Css,
Cue,
Cxx,
CoffeeScript,
Cognate,
Crystal,
CSharp,
Css,
Cue,
Cxx,
C3,
D,
Dart,
Dhall,
Expand Down Expand Up @@ -155,6 +156,7 @@ impl Language {
"commonlisp" => Some(CommonLisp),
"crystal" => Some(Crystal),
"csharp" => Some(CSharp),
"c3" => Some(C3),
"c#" => Some(CSharp),
"css" => Some(Css),
"cue" => Some(Cue),
Expand Down Expand Up @@ -305,6 +307,7 @@ impl Language {
"cts" => Some(TypeScript),
"cue" => Some(Cue),
"cxx" => Some(Cxx),
"c3" => Some(C3),
"d" => Some(D),
"dart" => Some(Dart),
"dhall" => Some(Dhall),
Expand Down Expand Up @@ -473,6 +476,7 @@ impl LanguageInfo {
Css => info!("CSS", color: 0x563d7c),
Cue => info!("Cue"),
Cxx => info!("C++", color: [25, 65, 122]),
C3 => info!("C3", color: 0x355beb),
D => info!("D", color: 0xb03931),
Dart => info!("Dart", color: 0x40c4ff),
Dhall => info!("Dhall"),
Expand Down
2 changes: 1 addition & 1 deletion src/reporters/html_reporter.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

body {
margin: 0 auto;
padding: 48px 24px 24px;
padding: 48px 24px;
max-width: 968px;
}

Expand Down

0 comments on commit c755566

Please sign in to comment.