diff --git a/.config/nvim/lua/core/init.lua b/.config/nvim/lua/core/init.lua index 5b0fb7c..d100c32 100644 --- a/.config/nvim/lua/core/init.lua +++ b/.config/nvim/lua/core/init.lua @@ -4,7 +4,10 @@ local g = vim.g -------------------------------------- globals ----------------------------------------- g.mapleader = ' ' -- leader is space g.maplocalleader = ' ' +g.bigfile_size = 1024 * 1024 * 1.5 ---------------------------------------------------------------------------------------- require 'core.lazy' require 'core.mappings' require 'core.options' + +g.colorscheme = "nightfox" diff --git a/.config/nvim/lua/core/lazy.lua b/.config/nvim/lua/core/lazy.lua index 847b4bc..82b08a9 100644 --- a/.config/nvim/lua/core/lazy.lua +++ b/.config/nvim/lua/core/lazy.lua @@ -19,4 +19,24 @@ if not ok then return end -lazy.setup("plugins") +lazy.setup({ + spec = { + { "LazyVim/LazyVim" }, + { import = "plugins" }, + }, + performance = { + rtp = { + -- disable some rtp plugins + disabled_plugins = { + "gzip", + "matchit", + "matchparen", + "netrwPlugin", + "tarPlugin", + "tohtml", + "tutor", + "zipPlugin", + }, + }, + }, +}) diff --git a/.config/nvim/lua/plugins/core.lua b/.config/nvim/lua/plugins/core.lua index 644b5c6..34078c1 100644 --- a/.config/nvim/lua/plugins/core.lua +++ b/.config/nvim/lua/plugins/core.lua @@ -19,13 +19,10 @@ return { end) end }, - { - 'EdenEast/nightfox.nvim', - priority = 1000, - }, { 'romainl/Apprentice', priority = 1000, + lazy = false }, { 'akinsho/toggleterm.nvim',