sbdchd / neoformat

:sparkles: A (Neo)vim plugin for formatting code.
BSD 2-Clause "Simplified" License
1.98k stars 188 forks source link

fix: add content type to deno fmt calls #446

Closed StaticRocket closed 1 year ago

StaticRocket commented 1 year ago

Deno changed the default behavior for fmt calls using stdin content. By default it assumes all input is TypeScript and otherwise it needs to be specified by the --ext option. This adds the appropriate --ext flags for all file types associated with Deno (except markdown since that was added in an earlier).

Signed-off-by: StaticRocket 35777938+StaticRocket@users.noreply.github.com

StaticRocket commented 1 year ago

Relates-to: #412