Tweaks for lazy config
This commit is contained in:
parent
70e14617eb
commit
360a1d5f83
|
@ -13,7 +13,7 @@ if not vim.loop.fs_stat(lazypath) then
|
|||
}
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
require("lazy").setup("plugins", require "config.lazy")
|
||||
require("lazy").setup(require "config.lazy")
|
||||
|
||||
-- Set vim options
|
||||
require "config"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
-- Opt
|
||||
vim.opt.laststatus = 3
|
||||
vim.opt.showtabline = 2
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.number = true
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
spec = "plugins",
|
||||
dev = {
|
||||
path = "~/Projects/lua/nvim",
|
||||
},
|
||||
|
@ -32,4 +33,18 @@ return {
|
|||
enabled = true,
|
||||
frequency = 3600,
|
||||
},
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
"gzip",
|
||||
"matchit",
|
||||
"matchparen",
|
||||
"netrwPlugin",
|
||||
"tarPlugin",
|
||||
"tohtml",
|
||||
"tutor",
|
||||
"zipPlugin",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue