Skip to content

Commit eec57cf

Browse files
committed
fix(neovim): add args to isort for 'conform' plugin.
1 parent 639a74f commit eec57cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

module/neovim/lua/plugins/conform.lua

+6-1
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,17 @@ return {
3939
json = { "prettier" },
4040
lua = { "stylua" },
4141
markdown = { "prettier" },
42-
python = { "isort", "black" },
42+
python = { "black", "isort" },
4343
typescript = { "prettier" },
4444
typescriptreact = { "prettier" },
4545
svelte = { "prettier" },
4646
yaml = { "prettier" },
4747
},
48+
formatters = {
49+
isort = {
50+
prepend_args = { "--profile", "black" },
51+
},
52+
},
4853
})
4954
end,
5055
}

0 commit comments

Comments
 (0)