Minor updates

This commit is contained in:
Kristofers Solo 2023-02-27 13:34:50 +02:00
parent 6ca87e53a2
commit dd6cd38562
3 changed files with 2 additions and 9 deletions

View File

@ -78,8 +78,6 @@ end
-- Python -- Python
dap.adapters.python = { dap.adapters.python = {
type = "executable", 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", command = vim.fn.stdpath("data") .. "/mason/bin/debugpy-adapter",
} }
dap.configurations.python = { dap.configurations.python = {

View File

@ -65,7 +65,6 @@ return packer.startup(function(use)
-- Colorschemes -- Colorschemes
use("lunarvim/darkplus.nvim") use("lunarvim/darkplus.nvim")
use("Mofiqul/dracula.nvim") use("Mofiqul/dracula.nvim")
use("elkowar/yuck.vim")
-- Vimwiki -- Vimwiki
use("vimwiki/vimwiki") use("vimwiki/vimwiki")
@ -86,12 +85,10 @@ return packer.startup(function(use)
use("williamboman/mason.nvim") use("williamboman/mason.nvim")
use("williamboman/mason-lspconfig.nvim") use("williamboman/mason-lspconfig.nvim")
use("neovim/nvim-lspconfig") -- enable LSP use("neovim/nvim-lspconfig") -- enable LSP
use("WhoIsSethDaniel/mason-tool-installer.nvim")
use("jose-elias-alvarez/null-ls.nvim") -- for formatters and linters use("jose-elias-alvarez/null-ls.nvim") -- for formatters and linters
use("jayp0521/mason-null-ls.nvim") use("jayp0521/mason-null-ls.nvim")
use("RubixDev/mason-update-all")
use("RRethy/vim-illuminate") use("RRethy/vim-illuminate")
use({ "Saecki/crates.nvim", tag = "v0.3.0" }) use("Saecki/crates.nvim")
use("simrat39/rust-tools.nvim") use("simrat39/rust-tools.nvim")
use("p00f/clangd_extensions.nvim") use("p00f/clangd_extensions.nvim")

View File

@ -3,12 +3,10 @@ if not status_ok then
return return
end end
project.setup({ project.setup({
-- detection_methods = { "lsp", "pattern" }, -- NOTE: lsp detection will get annoying with multiple langs in one project -- detection_methods = { "lsp", "pattern" }, -- NOTE: lsp detection will get annoying with multiple langs in one project
detection_methods = { "pattern" }, detection_methods = { "pattern" },
-- patterns used to detect root dir, when **"pattern"** is in detection_methods -- 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") local tele_status_ok, telescope = pcall(require, "telescope")