Feat: move from packer to lazy

This commit is contained in:
2023-10-06 14:29:02 +02:00
parent 9c5c85fe29
commit 42b373b467
44 changed files with 495 additions and 3530 deletions

View File

@@ -1,5 +1,17 @@
require('plugins')
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.opt.rtp:prepend(lazypath)
vim.g.mapleader = ' ' -- Leaderkey
require("lazy").setup("plugins")
require('settings')
require('mappings')
require('lsp')