A very fast neovim config :D
at master 42 lines 1.1 kB view raw
1-- set this so that plugins loaded by lazy can use the leader key. 2vim.g.mapleader = " " 3vim.g.maplocalleader = " " 4 5local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" 6if not vim.loop.fs_stat(lazypath) then 7 vim.fn.system({ 8 "git", 9 "clone", 10 "--filter=blob:none", 11 "--single-branch", 12 "https://github.com/folke/lazy.nvim.git", 13 lazypath, 14 }) 15end 16vim.opt.runtimepath:prepend(lazypath) 17 18require("lazy").setup("plugins", { 19 defaults = { lazy = true, version = "*" }, 20 ui = { wrap = "true" }, 21 checker = { enabled = false }, 22 change_detection = { enabled = true }, 23 debug = false, 24 performance = { 25 cache = { 26 enabled = true, 27 }, 28 reset_packpath = true, 29 rtp = { 30 disabled_plugins = { 31 "gzip", 32 "matchit", 33 "matchparen", 34 "netrwPlugin", 35 "tarPlugin", 36 "tohtml", 37 "tutor", 38 "zipPlugin", 39 }, 40 }, 41 }, 42})