Skip to content

Commit

Permalink
cargo fmt && 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wyhaya committed Sep 8, 2023
1 parent 5853cd4 commit 819873c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lok"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = ["wyhaya <[email protected]>"]
description = "Count the number of codes"
Expand Down
21 changes: 18 additions & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,24 @@ pub const CONFIG: Config = Config(&[
),
language!("C++", &["cpp"], &["//"], &[("/*", "*/")]),
language!("Clojure", &["clj"], &[";", ";;", ";;;", ";;;;", "#_"], &[]),
language!("ClojureC", &["cljc"], &[";", ";;", ";;;", ";;;;", "#_"], &[]),
language!("ClojureDart", &["cljd"], &[";", ";;", ";;;", ";;;;", "#_"], &[]),
language!("ClojureScript", &["cljs"], &[";", ";;", ";;;", ";;;;", "#_"], &[]),
language!(
"ClojureC",
&["cljc"],
&[";", ";;", ";;;", ";;;;", "#_"],
&[]
),
language!(
"ClojureDart",
&["cljd"],
&[";", ";;", ";;;", ";;;;", "#_"],
&[]
),
language!(
"ClojureScript",
&["cljs"],
&[";", ";;", ";;;", ";;;;", "#_"],
&[]
),
language!("CoffeeScript", &["coffee"], &["#"], &[("###", "###")]),
language!("C#", &["cs"], &["//", "///"], &[("/*", "*/")]),
language!("D", &["d"], &["//", "///"], &[("/*", "*/")]),
Expand Down

0 comments on commit 819873c

Please sign in to comment.