add options table for Lazy package manager

pull/194/head
Tom Deneire 2 years ago
parent 72364ad9ac
commit b1fbda7ce1

@ -35,7 +35,6 @@ I hope you enjoy your Neovim journey,
P.S. You can delete this when you're done too. It's your config now :)
--]]
-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
@ -58,6 +57,10 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
-- NOTE: Here is where you configure the Lazy package manager
-- See `:help lazy.nvim-lazy.nvim-configuration` for more info
local lazyopts = {}
-- NOTE: Here is where you install your plugins.
-- You can configure plugins using the `config` key.
--
@ -187,7 +190,7 @@ require('lazy').setup({
-- An additional note is that if you only copied in the `init.lua`, you can just comment this line
-- to get rid of the warning telling you that there are not plugins in `lua/custom/plugins/`.
{ import = 'custom.plugins' },
}, {})
}, lazyopts)
-- [[ Setting options ]]
-- See `:help vim.o`

Loading…
Cancel
Save