Add zimports to python format commands

This commit is contained in:
Evie Litherland-Smith 2022-11-09 10:42:32 +00:00
parent 1ce6e03a72
commit 4b68cc887c

View file

@ -151,6 +151,7 @@ require('lspconfig')['efm'].setup {
languages = { languages = {
python = { python = {
{ formatCommand = 'black --quiet -', formatStdin = true }, { formatCommand = 'black --quiet -', formatStdin = true },
{ formatCommand = 'zimports -', formatStdin = true },
{ formatCommand = 'isort --quiet -', formatStdin = true }, { formatCommand = 'isort --quiet -', formatStdin = true },
}, },
}, },