Skip to content

Commit

Permalink
chore: big file size stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhitt committed Nov 5, 2024
1 parent ffe3af0 commit 46397cb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .config/nvim/lua/core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"
22 changes: 21 additions & 1 deletion .config/nvim/lua/core/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
},
})
5 changes: 1 addition & 4 deletions .config/nvim/lua/plugins/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ return {
end)
end
},
{
'EdenEast/nightfox.nvim',
priority = 1000,
},
{
'romainl/Apprentice',
priority = 1000,
lazy = false
},
{
'akinsho/toggleterm.nvim',
Expand Down

0 comments on commit 46397cb

Please sign in to comment.