diff options
Diffstat (limited to 'config/essentials/vis/format.lua')
-rw-r--r-- | config/essentials/vis/format.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/config/essentials/vis/format.lua b/config/essentials/vis/format.lua index 67613a6..eefdc77 100644 --- a/config/essentials/vis/format.lua +++ b/config/essentials/vis/format.lua @@ -63,15 +63,15 @@ M.formatters = { end, }, luaformatter = M.stdio_formatter("lua-format"), - markdown = M.stdio_formatter(function(win) - if win.options and M.wrapwidth ~= 0 then - return "prettier --parser markdown --prose-wrap always " - .. ("--print-width " .. (M.wrapwidth - 1) .. " ") - .. M.with_filename(win, "--stdin-filepath ") - else - return "prettier --parser markdown " .. M.with_filename(win, "--stdin-filepath ") - end - end, { ranged = false }), + -- markdown = M.stdio_formatter(function(win) + -- if win.options and M.wrapwidth ~= 0 then + -- return "prettier --parser markdown --prose-wrap always " + -- .. ("--print-width " .. (M.wrapwidth - 1) .. " ") + -- .. M.with_filename(win, "--stdin-filepath ") + -- else + -- return "prettier --parser markdown " .. M.with_filename(win, "--stdin-filepath ") + -- end + -- end, { ranged = false }), powershell = M.stdio_formatter([[ "$( (command -v powershell.exe || command -v pwsh) 2>/dev/null )" -c ' Invoke-Formatter -ScriptDefinition ` |