mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 14:37:15 +01:00
split up init.lua
This commit is contained in:
10
lua/initlazy.lua
Normal file
10
lua/initlazy.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
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' },
|
||||
}
|
||||
Reference in New Issue
Block a user