my neovim config, who would've thought
1vim.loader.enable()
2
3local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
4if not vim.uv.fs_stat(lazypath) then
5 vim.fn.system {
6 "git",
7 "clone",
8 "--filter=blob:none",
9 "https://github.com/folke/lazy.nvim.git",
10 lazypath,
11 }
12end
13vim.opt.rtp:prepend(lazypath)
14
15require("lazy").setup {
16 spec = {
17 { import = "plugins" },
18 },
19 defaults = {
20 lazy = true,
21 version = "*", -- use only stable releases
22 },
23 dev = { ---@diagnostic disable-line:assign-type-mismatch
24 path = "~/code",
25 patterns = { "olexsmir" },
26 fallback = true,
27 },
28 install = { colorscheme = { "tokyonight" } },
29 change_detection = { notify = false },
30 performance = {
31 rtp = {
32 disabled_plugins = {
33 "netrw",
34 "netrwPlugin",
35 "netrwSettings",
36 "netrwFileHandlers",
37 "gzip",
38 "zip",
39 "tohtml",
40 "man",
41 "zipPlugin",
42 "tar",
43 "tarPlugin",
44 "getscript",
45 "getscriptPlugin",
46 "vimball",
47 "vimballPlugin",
48 "2html_plugin",
49 "logipat",
50 "rrhelper",
51 "spellfile_plugin",
52 "matchit",
53 },
54 },
55 },
56}