charmbracelet/freeze

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

Opened this issue · 0 comments

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.

  • rose-pine-moon example from NeoVim:
Rose pine example
  • freeze .gitignore --config user --theme rose-pine-moon --language bash:
    rose-pine-moon freeze generated

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.