Skip to content

Commit

Permalink
feat: move lazy setup in init.lua (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wborn authored Jun 14, 2024
1 parent 0678b20 commit 00c0c01
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 30 deletions.
30 changes: 29 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,35 @@ _G.global = {}
_G.global.float_border_opts = { border = 'rounded', focusable = false, scope = 'line' }

require('custom')
require('lazy').setup('plugins')
require('lazy').setup({
spec = {
{ import = 'plugins' },
},
defaults = {
lazy = true,
version = false,
},
install = {
missing = true,
colorscheme = { 'catpuccin' },
},
checker = { enabled = true },
performance = {
rtp = {
disabled_plugins = {
'gzip',
'matchit',
'matchparen',
'netrwPlugin',
'tarPlugin',
'tohtml',
'tutor',
'zipPlugin',
},
},
},
ui = { border = 'rounded' },
})

require('custom.keymaps')
require('custom.autocommands')
29 changes: 0 additions & 29 deletions lua/custom/lazy.lua

This file was deleted.

0 comments on commit 00c0c01

Please sign in to comment.