ccat icon indicating copy to clipboard operation
ccat copied to clipboard

Defining the comments on the command line (or automatically).

Open ericxuo opened this issue 4 years ago • 0 comments

Hi,

If I just : #ccat ~/.tcshrc I can see that the comments are not displayed in lightgrey. It could be useful to be able to define what a comment is and to automatically set it depending on the kind of file. shell script, .bashrc, .tcshrc, ... => # text file => none or user-defined verilog => // ...

Either ccat could recognize the file type or the user could define the comment with a -comment = ... argument. multi-line arguments will be more tricky but lets start with a simple stuff.

Regards.

Xuo.

ericxuo avatar May 04 '21 19:05 ericxuo