From a6ba56aa88fba50bee537ae521077e3f888606f7 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Fri, 22 Nov 2024 11:43:41 -0500 Subject: [PATCH] move colorscheme.lua back to core for consistency --- .../lua/{plugins => core}/colorscheme.lua | 0 .config/nvim/lua/core/lazy.lua | 36 ++++++++++--------- 2 files changed, 20 insertions(+), 16 deletions(-) rename .config/nvim/lua/{plugins => core}/colorscheme.lua (100%) diff --git a/.config/nvim/lua/plugins/colorscheme.lua b/.config/nvim/lua/core/colorscheme.lua similarity index 100% rename from .config/nvim/lua/plugins/colorscheme.lua rename to .config/nvim/lua/core/colorscheme.lua diff --git a/.config/nvim/lua/core/lazy.lua b/.config/nvim/lua/core/lazy.lua index 896ed22..0567cc4 100644 --- a/.config/nvim/lua/core/lazy.lua +++ b/.config/nvim/lua/core/lazy.lua @@ -1,24 +1,28 @@ -- lazy bootstrap local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", - lazypath, - }) + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + }) end vim.opt.rtp:prepend(lazypath) -- lazy setup -require("lazy").setup({ { import = "plugins" }, { import = "plugins.lsp" } }, { - checker = { - enabled = true, - notify = false, - }, - change_detection = { - notify = false, - } +require("lazy").setup({ + { import = "core.colorscheme" }, + { import = "plugins" }, + { import = "plugins.lsp" }, +}, { + checker = { + enabled = true, + notify = false, + }, + change_detection = { + notify = false, + }, })