From 1f52e22b17923848a292279324357f039b1b8c95 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 20 Oct 2025 18:51:25 +0200 Subject: feat(neovim): use built-in package manager. --- lua/config/lazy.lua | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 lua/config/lazy.lua (limited to 'lua/config/lazy.lua') diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua deleted file mode 100644 index b5bab23..0000000 --- a/lua/config/lazy.lua +++ /dev/null @@ -1,45 +0,0 @@ --- Bootstrap lazy.nvim -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not (vim.uv or vim.loop).fs_stat(lazypath) then - local lazyrepo = "https://github.com/folke/lazy.nvim.git" - local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) - if vim.v.shell_error ~= 0 then - vim.api.nvim_echo({ - { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, - { out, "WarningMsg" }, - { "\nPress any key to exit..." }, - }, true, {}) - vim.fn.getchar() - os.exit(1) - end -end -vim.opt.rtp:prepend(lazypath) - ---setup lazy.nvim -require("lazy").setup({ - spec = { - -- import plugins from specific directory - { import = "plugins" }, - }, - -- setup correct colorscheme - install = { colorscheme = { "gruvbox"} }, - -- automatically check for plugin updates - checker = { enabled = true }, - rocks = { - enabled = false - }, - performance = { - rtp = { - disabled_plugins = { - "gzip", - "matchit", - "matchparen", - "netrwPlugin", - "tarPlugin", - "tohtml", - "tutor", - "zipPlugin", - }, - }, - }, -}) -- cgit v1.1