diff options
Diffstat (limited to 'nvim/lua/Lazy.lua')
-rw-r--r-- | nvim/lua/Lazy.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nvim/lua/Lazy.lua b/nvim/lua/Lazy.lua new file mode 100644 index 0000000..d854e81 --- /dev/null +++ b/nvim/lua/Lazy.lua @@ -0,0 +1,38 @@ +local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system { + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + } +end +vim.opt.rtp:prepend(lazypath) + +-- example using a list of specs with the default options +vim.g.mapleader = " " -- make sure to set `mapleader` before lazy so your mappings are correct + +-- load lazy +require("lazy").setup("user", { + install = { colorscheme = { require("user.colorscheme").name } }, + defaults = { lazy = true, version = "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" }, + ui = { wrap = "true" }, + change_detection = { enabled = true }, + debug = false, + performance = { + rtp = { + disabled_plugins = { + -- "gzip", -- Plugin for editing compressed files. + -- "matchit", -- What is it? + -- "matchparen", -- Plugin for showing matching parens + -- "netrwPlugin", -- Handles file transfers and remote directory listing across a network + -- "tarPlugin", -- Plugin for browsing tar files + -- "tohtml", -- Converting a syntax highlighted file to HTML + -- "tutor", -- Teaching? + -- "zipPlugin", -- Handles browsing zipfiles + }, + }, + }, +}) |