2023-08-02 16:39:49 +02:00
|
|
|
vim.g.mapleader = " "
|
|
|
|
vim.g.maplocalleader = " "
|
|
|
|
|
|
|
|
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)
|
|
|
|
-- bootstrap lazy.nvim
|
|
|
|
require("lazy").setup("config.packages", {
|
|
|
|
defaults = {
|
|
|
|
lazy = false
|
|
|
|
},
|
2023-09-19 18:57:21 +02:00
|
|
|
install = {
|
2023-12-07 23:04:29 +01:00
|
|
|
colorscheme = { "monokai-pro" },
|
2023-09-19 18:57:21 +02:00
|
|
|
}
|
|
|
|
})
|