From 4b68cc887c38067b6e46f3013a03678d8dceafa6 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 9 Nov 2022 10:42:32 +0000 Subject: [PATCH] Add zimports to python format commands --- lua/config_lsp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/config_lsp.lua b/lua/config_lsp.lua index d8223800..33114a38 100644 --- a/lua/config_lsp.lua +++ b/lua/config_lsp.lua @@ -151,6 +151,7 @@ require('lspconfig')['efm'].setup { languages = { python = { { formatCommand = 'black --quiet -', formatStdin = true }, + { formatCommand = 'zimports -', formatStdin = true }, { formatCommand = 'isort --quiet -', formatStdin = true }, }, },