X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8de4d1975c84ef549c29f2a1d8b5ccc70f957679..ee63a3fc67861a708231e11f69fd9920378b071c:/nvim/lua/plugins/lang/python.lua?ds=sidebyside diff --git a/nvim/lua/plugins/lang/python.lua b/nvim/lua/plugins/lang/python.lua index 09ee671..4861767 100644 --- a/nvim/lua/plugins/lang/python.lua +++ b/nvim/lua/plugins/lang/python.lua @@ -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 { { "dPt", function() require('dap-python').test_method() end, desc = "Debug Method", ft = "python" }, { "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,