tokei
tokei copied to clipboard
`.reds` extension overlap in Red / Redscript languages.
It is temporarily disabled for Red: 08cc748
Red support: #958 Redscript support: #994
Perhaps such overlap should be allowed, and an option added to select which language to use in case of extension overlap? It would also fix this issue: https://github.com/XAMPPRocky/tokei#tokei-says-i-have-a-lot-of-d-code-but-i-know-there-is-no-d-code .
Thank you for your issue! Yes overlap is a thing I've been meaning to support but I don't have much time for this project these days.
It requires implementing some kind of detection algorithm based on file contents.
Did you consider something like a simple option to allow user say "I prefer D parser over C parser and Redscript parser over Red parser, in case of extension overlap"? Like tokei ./foo --prefer "D" --prefer "Redscript"
?