ccat icon indicating copy to clipboard operation
ccat copied to clipboard

Proper [Python] syntax

Open apas opened this issue 8 years ago • 1 comments

Really like ccat so far. Enjoy the speed bump over pygmentize. However, I do want to point out that ccat's syntax recognition capabilities are sort of lacking. Is it possible to customize colors on a more granular semantic level, i.e. create different color flags for variables, functions? Most lines in a Python file fall under Plaintext. Whole comment lines ignore the Comment flag and output as if it were a normal line.

apas avatar Jul 26 '17 21:07 apas

I have the same issue with Python. When i comment with a "#" the ouput is like a normal line exampleccat

R2D2Power avatar Nov 16 '21 20:11 R2D2Power