Is it possible to get syntax highlighting for .gitignore files when using cat?
Update:
Tried sudo apt-get install python-pygments as suggested by @rovo but when using comments in the .gitignore it stops working.
Sample .gitignore (does not work):
# JetBrains IDEs
.idea
Sample .gitignore (works):
.idea