mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 22:47:18 +01:00
11 lines
392 B
Lua
11 lines
392 B
Lua
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
|
|
vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
|
|
end ---@diagnostic disable-next-line: undefined-field
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require('lazy').setup {
|
|
{ import = 'plugins' },
|
|
}
|