Tweaks for lazy config

This commit is contained in:
Evie Litherland-Smith 2023-04-21 16:42:21 +01:00
parent 70e14617eb
commit 360a1d5f83
3 changed files with 17 additions and 1 deletions

View file

@ -13,7 +13,7 @@ if not vim.loop.fs_stat(lazypath) then
} }
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require("lazy").setup("plugins", require "config.lazy") require("lazy").setup(require "config.lazy")
-- Set vim options -- Set vim options
require "config" require "config"

View file

@ -1,5 +1,6 @@
-- Opt -- Opt
vim.opt.laststatus = 3 vim.opt.laststatus = 3
vim.opt.showtabline = 2
vim.opt.shiftwidth = 4 vim.opt.shiftwidth = 4
vim.opt.expandtab = true vim.opt.expandtab = true
vim.opt.number = true vim.opt.number = true

View file

@ -1,4 +1,5 @@
return { return {
spec = "plugins",
dev = { dev = {
path = "~/Projects/lua/nvim", path = "~/Projects/lua/nvim",
}, },
@ -32,4 +33,18 @@ return {
enabled = true, enabled = true,
frequency = 3600, frequency = 3600,
}, },
performance = {
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
} }