Error when use :Format command
Closed this issue · 1 comments
Nexmean commented
OS: macOS Monterey 12.4
My packer 'formatter.nvim' configuration is:
use {
"mhartington/formatter.nvim",
cmd = {"Format", "FormatWrite"},
config = function ()
require("formatter").setup {
logging = true,
log_level = vim.log.levels.WARN,
filetype = {
haskell = {
function ()
return {
exe = "stylish-haskell",
stdin = true,
}
end,
},
lua = {
require("formatter.filetypes.lua").stylua,
},
},
}
end,
}
But when I use :Format on any type of file including lua and haskell I get error below:
Nexmean commented
The bug accidentally disappeared after about 4 hours ¯\(ツ)/¯