local plugins = { { "NvChad/nvterm", config = function() local opts = require("custom.configs.nvterm") require("nvterm").setup(opts) end, }, { "rcarriga/nvim-dap-ui", dependencies = "mfussenegger/nvim-dap", config = function() local dap = require("dap") local dapui = require("dapui") dapui.setup() dap.listeners.after.event_initialized["dapui_config"] = function() dapui.open() end dap.listeners.before.event_terminated["dapui_config"] = function() dapui.close() end dap.listeners.before.event_exited["dapui_config"] = function() dapui.close() end end }, { "mfussenegger/nvim-dap", config = function(_, opts) require("core.utils").load_mappings("dap") end }, { "mfussenegger/nvim-dap-python", ft = "python", dependencies = { "mfussenegger/nvim-dap", "rcarriga/nvim-dap-ui", }, config = function(_, opts) local pyenv = os.getenv("VIRTUAL_ENV") or "/usr" local path = pyenv .. "/bin/python3" require("dap-python").setup(path, opts) require("core.utils").load_mappings("dap_python") end, }, { "nvimtools/none-ls.nvim", ft = {"python"}, opts = function() return require "custom.configs.null-ls" end, }, { "neovim/nvim-lspconfig", config = function() require "plugins.configs.lspconfig" require "custom.configs.lspconfig" end, }, { "f-person/git-blame.nvim", lazy=false }, { "github/copilot.vim", event="InsertEnter", config = function() vim.g.copilot_no_tab_map=true vim.g.copilot_assume_mapped=true end, lazy=false }, { "karoliskoncevicius/vim-sendtowindow", lazy=false }, } return plugins