dotfiles/NixOS/modules/nvim/files/lua/plugins/formatter.lua

17 lines
383 B
Lua

return {
'mhartington/formatter.nvim',
config = function ()
require("formatter").setup({
filetype = {
lua = {
require("formatter.filetypes.lua").stylua,
},
python = {
require("formatter.filetypes.python").black,
},
}
})
end
}