diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 7370a2fe..35842004 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -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" diff --git a/config/nvim/lua/config/init.lua b/config/nvim/lua/config/init.lua index 4b59c921..17fb4f29 100644 --- a/config/nvim/lua/config/init.lua +++ b/config/nvim/lua/config/init.lua @@ -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 diff --git a/config/nvim/lua/config/lazy.lua b/config/nvim/lua/config/lazy.lua index 1ddf64b0..768aeecb 100644 --- a/config/nvim/lua/config/lazy.lua +++ b/config/nvim/lua/config/lazy.lua @@ -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", + }, + }, + }, }