diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-05-04 11:08:57 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-05-04 11:08:57 +0200 |
| commit | 32982fdceecc5318e98c3bba636d3efe8e1c96d2 (patch) | |
| tree | 9a5c10682291db34566d87255be8aa8f08c67ca5 | |
| parent | feat: remove unnecessary "is_windows" local variable from settings.lua (diff) | |
| download | nvim-32982fdceecc5318e98c3bba636d3efe8e1c96d2.tar.gz | |
feat: enable lazy caching, disable some rtp plugins, disable Rosé Pine italics,
set lazy to true by default
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/lazy.lua | 20 | ||||
| -rw-r--r-- | lua/pml68/plugins.lua | 7 |
2 files changed, 22 insertions, 5 deletions
diff --git a/lua/pml68/lazy.lua b/lua/pml68/lazy.lua index 6ac9111..86d2be5 100644 --- a/lua/pml68/lazy.lua +++ b/lua/pml68/lazy.lua @@ -13,4 +13,22 @@ vim.opt.rtp:prepend(lazypath) local plugins = require("pml68.plugins") -require("lazy").setup(plugins) +require("lazy").setup(plugins, { + defaults = { lazy = true }, + performance = { + cache = { + enabled = true, + }, + rtp = { + disabled_plugins = { + "matchit", + "matchparen", + "gzip", + "tarPlugin", + "tohtml", + "tutor", + "zipPlugin", + }, + }, + }, +}) diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index d53141d..ae02c05 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -130,8 +130,6 @@ local plugins = { vim.cmd("MasonInstall " .. table.concat(opts.ensure_installed, " ")) end end, {}) - - vim.g.mason_binaries_list = opts.ensure_installed end, build = ":MasonInstallAll", }, @@ -149,10 +147,12 @@ local plugins = { "rose-pine/neovim", name = "rose-pine", priority = 1000, + lazy = false, config = function() require("rose-pine").setup({ styles = { - transparency = true + transparency = true, + italic = false, } }) vim.cmd("colorscheme rose-pine") @@ -296,7 +296,6 @@ local plugins = { --LaTeX { "lervag/vimtex", - lazy = true, dependencies = "micangl/cmp-vimtex", init = function() vim.g.vimtex_view_method = 'mupdf' |
