Skip to content

chore: change .tape linguist from Elixir to Caddyfile#696

Open
mpyw wants to merge 1 commit intocharmbracelet:mainfrom
mpyw:linguist-caddyfile
Open

chore: change .tape linguist from Elixir to Caddyfile#696
mpyw wants to merge 1 commit intocharmbracelet:mainfrom
mpyw:linguist-caddyfile

Conversation

@mpyw
Copy link
Copy Markdown

@mpyw mpyw commented Jan 6, 2026

Thank you for creating such a great tool! It was very helpful when I recently created a README demo for my project.

Changes

Change linguist-language for .tape files from elixir to Caddyfile.

Motivation

Caddyfile syntax highlighting is more stable for VHS tape files. Elixir highlighting can sometimes break (e.g., when strings or atoms aren't properly balanced), causing the rest of the file to render incorrectly. Caddyfile uses a simpler directive-based syntax that matches tape file structure better.

Before / After

Output examples/meta.webm Output examples/meta.mp4 Set Width 1920 Set Height 1080 Set FontSize 32 Set Framerate 30 Set Theme { "brightGreen": "#00D787", "brightYellow": "#FE5F86", "yellow": "#FFFFFF", "brightBlue": "#875FFF" } Hide Type "cp examples/welcome.tape cassette.tape && clear" Enter Show  Type "vhs < cassette.tape" Sleep 0.5 Enter  Sleep 30s  Hide Type "rm cassette.tape" Enter 

Output examples/meta.webm Output examples/meta.mp4 Set Width 1920 Set Height 1080 Set FontSize 32 Set Framerate 30 Set Theme { "brightGreen": "#00D787", "brightYellow": "#FE5F86", "yellow": "#FFFFFF", "brightBlue": "#875FFF" } Hide Type "cp examples/welcome.tape cassette.tape && clear" Enter Show Type "vhs < cassette.tape" Sleep 0.5 Enter Sleep 30s Hide Type "rm cassette.tape" Enter
Caddyfile syntax highlighting is more resilient for .tape files and produces cleaner results than Elixir.
@mpyw mpyw requested a review from a team as a code owner January 6, 2026 05:03
@mpyw mpyw requested review from aymanbagabas and meowgorithm and removed request for a team January 6, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant