]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/lang/python.lua
weechat: disable partial auto-complete
[dotfiles.git] / nvim / lua / plugins / lang / python.lua
index 09ee671ab8249e474acb4fe06cf090a642100c2c..48617672d9e5075d120266e10d5972219ebe49b4 100644 (file)
@@ -31,16 +31,6 @@ return {
       },
     },
   },
-  {
-    "neovim/nvim-lspconfig",
-    opts = function(_, opts)
-      local servers = { "pyright", "ruff"}
-      for _, server in ipairs(servers) do
-        opts.servers[server] = opts.servers[server] or {}
-        opts.servers[server].enabled = server == lsp or server == ruff
-      end
-    end,
-  },
   {
     "nvim-neotest/neotest",
     dependencies = {
@@ -61,18 +51,6 @@ return {
         { "<leader>dPt", function() require('dap-python').test_method() end, desc = "Debug Method", ft = "python" },
         { "<leader>dPc", function() require('dap-python').test_class() end, desc = "Debug Class", ft = "python" },
       },
-      config = function()
-        local path = require("mason-registry").get_package("debugpy"):get_install_path()
-        require("dap-python").setup(path .. "/venv/bin/python")
-      end,
-    },
-  },
-  { "jay-babu/mason-nvim-dap.nvim",
-    opts = {
-      handlers = {
-        python = function() end,
-      },
-      ensure_installed = { "python" },
     },
   },
   { "linux-cultist/venv-selector.nvim", enabled = false,