diff --git a/lua/astrocommunity/pack/python/README.md b/lua/astrocommunity/pack/python/README.md index 98401e715..15febec03 100644 --- a/lua/astrocommunity/pack/python/README.md +++ b/lua/astrocommunity/pack/python/README.md @@ -8,4 +8,5 @@ This plugin pack does the following: - Adds `pyright` and `ruff_lsp` language servers - Adds the following `null-ls` sources: - [black](https://pypi.org/project/black/) + - [isort](https://pypi.org/project/isort/) - Adds `debugpy` for debugging diff --git a/lua/astrocommunity/pack/python/init.lua b/lua/astrocommunity/pack/python/init.lua index 641daa662..23810cfe6 100644 --- a/lua/astrocommunity/pack/python/init.lua +++ b/lua/astrocommunity/pack/python/init.lua @@ -16,7 +16,9 @@ return { }, { "jay-babu/mason-null-ls.nvim", - opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "black") end, + opts = function(_, opts) + opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { "black", "isort" }) + end, }, { "jay-babu/mason-nvim-dap.nvim",