Files
yadm/.config/nvim/lua/core/plugins.lua
2025-12-05 10:46:37 +00:00

27 lines
539 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 = false,
-- notify = false
-- },
-- dev = {
-- path = '/home/kmcr'
-- }
-- })