summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-19 18:34:13 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-19 18:34:13 +0900
commit307fceea38b7352a79b0bdb87025a34b76973867 (patch)
tree382eb3e6a11973bc2c6ba33eee14d43ec2a9566b /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua
parentb66f68b8c014a3041c936ee9de1b57db5bcb50fb (diff)
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua55
1 files changed, 0 insertions, 55 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua
deleted file mode 100644
index 607d647..0000000
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/python.lua
+++ /dev/null
@@ -1,55 +0,0 @@
-return {
- -- {
- -- "bps/vim-textobj-python",
- -- dependencies = { "kana/vim-textobj-user" },
- -- },
- {
- "nvim-neotest/neotest",
- optional = true,
- dependencies = {
- "nvim-neotest/neotest-python",
- },
- opts = {
- adapters = {
- ["neotest-python"] = {
- -- Here you can specify the settings for the adapter, i.e.
- -- runner = "pytest",
- -- python = ".venv/bin/python",
- },
- },
- },
- },
- {
- "linux-cultist/venv-selector.nvim",
- dependencies = {
- "neovim/nvim-lspconfig",
- "mfussenegger/nvim-dap",
- "mfussenegger/nvim-dap-python", --optional
- { "nvim-telescope/telescope.nvim", branch = "0.1.x", dependencies = { "nvim-lua/plenary.nvim" } },
- },
- lazy = false,
- branch = "regexp", -- This is the regexp branch, use this for the new version
- ft = "python",
- init = function()
- local wk = require("which-key")
- wk.add({
- mode = { "n", "v" },
- { "<leader>v", group = "Virtual envs" },
- })
- end,
- config = function()
- require("venv-selector").setup({
- notify_user_on_activate = true,
- search = {
- venvs = {
- command = "fd /bin/python$ ~/.local/share/venvs --full-path",
- },
- },
- })
- end,
- keys = {
- { "<leader>vs", "<cmd>VenvSelect<cr>", desc = "Select virtual env", ft = "python" },
- { "<leader>vc", "<cmd>VenvSelectCached<cr>", desc = "Select venv (cache)", ft = "python" },
- },
- },
-}