Install lazy
This commit is contained in:
parent
6ecde9bda1
commit
290ce20232
1
init.lua
1
init.lua
|
@ -1,2 +1,3 @@
|
|||
require("core.mappings")
|
||||
require("core.settings")
|
||||
require("core.lazy")
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or 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.opt.rtp:prepend(lazypath)
|
Loading…
Reference in New Issue