Skip to content

Commit

Permalink
fix(pack): Switching python venv selector to a more robust plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
luxus authored and mehalter committed Mar 9, 2023
1 parent 5429b80 commit b1c6154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ This plugin pack does the following:
- [black](https://pypi.org/project/black/)
- [isort](https://pypi.org/project/isort/)
- Adds `debugpy` for debugging
- Adds [swenv.nvim](https://github.com/AckslD/swenv.nvim) for virtual environment management
- Adds [venv-selector.nvim](https://github.com/linux-cultist/venv-selector.nvim) for virtual environment management
5 changes: 2 additions & 3 deletions lua/astrocommunity/pack/python/python.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ return {
end,
},
{
"AckslD/swenv.nvim",
"linux-cultist/venv-selector.nvim",
opts = {},
ft = "python",
keys = { { "<leader>lv", function() require("swenv.api").pick_venv() end, desc = "Select VirtualEnv" } },
keys = { { "<leader>lv", "<cmd>:VenvSelect<cr>", desc = "Select VirtualEnv" } },
},
}

0 comments on commit b1c6154

Please sign in to comment.