XAMPPRocky / tokei

Count your code, quickly.
Other
10.51k stars 504 forks source link

Add support for per-project custom DSL sloc #1076

Open evan0greenup opened 3 months ago

evan0greenup commented 3 months ago

Just like languages.json, It define the language tokei support.

It would be nice to add .tokei.yaml or .sloc.yaml for in the top directory of repository. It following the same structure as languages.json but in YAML for defining user custom language.

This feature is useful especially in Rust ecosystem.

Because sometimes user create procedural macro and use custom DSL in separated files to generate Rust code.

evan0greenup commented 3 months ago

@XAMPPRocky , what is your opinion?