charmbracelet / freeze

Generate images of code and terminal output 📸
MIT License
2.98k stars 50 forks source link

feat(languages): add `git` language under `--language` flag #92

Open AlejandroSuero opened 2 months ago

AlejandroSuero commented 2 months ago

Is your feature request related to a problem? Please describe. I am working on a plugin to port freeze as a NeoVim command. When testing it for .git* files, ex. .gitignore|.gitattributes|etc the --language flag says that gitignore|gitattributes|etc filetypes are unknown.

Describe the solution you'd like To get the --language flag working for git* related filetypes. One way could be to copy bash language into a git language to support on --language.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.