tokei
tokei copied to clipboard
Provide a way for specifying single line docs
In Raku, one can specify both single and multi-line docs, just like normal comments. Example:
# A normal comment
#| A documentation AKA POD declaration
sub foo {}
@CIAvash What exactly is the problem? I've checked that (with most recent version though), and this example returns
so it seems like this #|
is properly recognized?
If I'm not mistaken tokei considers docs as code, so the result should be 1 comment(the first line), 2 code.
By default docs are comments, but that can be changed in the settings