2024-07-02 23:52:43 +02:00
|
|
|
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',
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
2024-09-07 20:39:22 +02:00
|
|
|
local plugins = require('toolchain').get_plugins()
|
2024-07-02 23:52:43 +02:00
|
|
|
table.insert(plugins, 1, { import = 'editor' })
|
|
|
|
|
|
|
|
require('lazy').setup({
|
2025-01-13 15:30:01 +01:00
|
|
|
spec = plugins,
|
2024-07-02 23:52:43 +02:00
|
|
|
})
|