Files
yadm/.config/nvim/lua/core/plugins.lua
2024-02-26 12:51:21 +01:00

23 lines
468 B
Lua

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.g.mapleader = ' '
vim.g.maplocalleader = ' '
vim.opt.rtp:prepend(lazypath)
require'lazy'.setup('plugins', {
change_detection = {
enabled = true,
notify = false
}
})