Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ericxuo opened this issue May 4, 2021 · 0 comments
Open

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

ericxuo opened this issue May 4, 2021 · 0 comments

Comments

@ericxuo
Copy link

ericxuo commented May 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant