diff --git a/lua/user/dap.lua b/lua/user/dap.lua index 42b2c2d..4cc6824 100644 --- a/lua/user/dap.lua +++ b/lua/user/dap.lua @@ -78,8 +78,6 @@ end -- Python dap.adapters.python = { type = "executable", - -- command = vim.fn.stdpath("data") .. "/mason/packages/debugpy/venv/bin/python", - -- args = { "-m", "debugpy.adapter" }, command = vim.fn.stdpath("data") .. "/mason/bin/debugpy-adapter", } dap.configurations.python = { diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 7883d37..28586e8 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -65,7 +65,6 @@ return packer.startup(function(use) -- Colorschemes use("lunarvim/darkplus.nvim") use("Mofiqul/dracula.nvim") - use("elkowar/yuck.vim") -- Vimwiki use("vimwiki/vimwiki") @@ -86,12 +85,10 @@ return packer.startup(function(use) use("williamboman/mason.nvim") use("williamboman/mason-lspconfig.nvim") use("neovim/nvim-lspconfig") -- enable LSP - use("WhoIsSethDaniel/mason-tool-installer.nvim") use("jose-elias-alvarez/null-ls.nvim") -- for formatters and linters use("jayp0521/mason-null-ls.nvim") - use("RubixDev/mason-update-all") use("RRethy/vim-illuminate") - use({ "Saecki/crates.nvim", tag = "v0.3.0" }) + use("Saecki/crates.nvim") use("simrat39/rust-tools.nvim") use("p00f/clangd_extensions.nvim") diff --git a/lua/user/project.lua b/lua/user/project.lua index 539ee7c..a4c3cbb 100644 --- a/lua/user/project.lua +++ b/lua/user/project.lua @@ -3,12 +3,10 @@ if not status_ok then return end project.setup({ - -- detection_methods = { "lsp", "pattern" }, -- NOTE: lsp detection will get annoying with multiple langs in one project detection_methods = { "pattern" }, - -- patterns used to detect root dir, when **"pattern"** is in detection_methods - patterns = { ".git", "Makefile", "package.json" }, + patterns = { ".git", "Makefile", "package.json", ".venv" }, }) local tele_status_ok, telescope = pcall(require, "telescope")