[X] I have set log_level = vim.log.levels.DEBUG and pasted the log contents below.
Log file
2024-10-21 17:05:06[INFO] deno_fmt exited with code 1
2024-10-21 17:05:06[DEBUG] deno_fmt stdout: { "" }
2024-10-21 17:05:06[DEBUG] deno_fmt stderr: { "\27[0m\27[1m\27[31merror\27[0m: a value is required for '--ext ' but none was supplied", " [possible values: ts, tsx, js, jsx, md, json, jsonc, css, scss, sass, less, html, svelte, vue, astro, yml, yaml, ipynb]", "", "" }
2024-10-21 17:05:06[ERROR] Formatter 'deno_fmt' error: [0m[1m[31merror[0m: a value is required for '--ext ' but none was supplied
[possible values: ts, tsx, js, jsx, md, json, jsonc, css, scss, sass, less, html, svelte, vue, astro, yml, yaml, ipynb]
Formatters for this buffer:
LSP: svelte
deno_fmt ready (svelte, javascriptreact, markdown, jsonc, javascript, typescriptreact, json, html, css, typescript) /Users/jakubdonovan/.local/share/nvim/mason/bin/deno
Describe the bug
Unable to format svelte files with deno_fmt. Here's the relevant extract of my conform setup. All other files format as they should, but svelte files fail to format.
Neovim version (nvim -v)
NVIM v0.10.0
Operating system/version
MacOS 14.6.1
Read debugging tips
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
2024-10-21 17:05:06[INFO] deno_fmt exited with code 1 2024-10-21 17:05:06[DEBUG] deno_fmt stdout: { "" } 2024-10-21 17:05:06[DEBUG] deno_fmt stderr: { "\27[0m\27[1m\27[31merror\27[0m: a value is required for '--ext' but none was supplied", " [possible values: ts, tsx, js, jsx, md, json, jsonc, css, scss, sass, less, html, svelte, vue, astro, yml, yaml, ipynb]", "", "" }
2024-10-21 17:05:06[ERROR] Formatter 'deno_fmt' error: [0m[1m[31merror[0m: a value is required for '--ext ' but none was supplied
[possible values: ts, tsx, js, jsx, md, json, jsonc, css, scss, sass, less, html, svelte, vue, astro, yml, yaml, ipynb]
Formatters for this buffer: LSP: svelte deno_fmt ready (svelte, javascriptreact, markdown, jsonc, javascript, typescriptreact, json, html, css, typescript) /Users/jakubdonovan/.local/share/nvim/mason/bin/deno
Describe the bug
Unable to format svelte files with deno_fmt. Here's the relevant extract of my conform setup. All other files format as they should, but svelte files fail to format.
As you can see,
deno
supports formatting of svelte files.What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
open svelte file and try to format it
Expected Behavior
it should format
Minimal example file
No response
Minimal init.lua
No response
Additional context
No response