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

17 lines
383 B
Lua
Raw Normal View History

2024-05-31 18:00:12 +02:00
return {
'mhartington/formatter.nvim',
config = function ()
require("formatter").setup({
filetype = {
lua = {
require("formatter.filetypes.lua").stylua,
},
python = {
require("formatter.filetypes.python").black,
},
}
})
end
}