2023-11-18 02:27:14 +02:00
|
|
|
-- Install lazy if it's not yet installed
|
|
|
|
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)
|
|
|
|
|
2022-10-26 14:08:20 +03:00
|
|
|
require("settings")
|
2023-06-17 14:35:24 +03:00
|
|
|
require("neovide")
|
2022-11-09 09:01:45 +02:00
|
|
|
require("highlight_yank")
|
2023-11-25 13:24:17 +02:00
|
|
|
require("lazy").setup({
|
2023-12-04 10:12:33 +02:00
|
|
|
spec = { import = "plugins" },
|
|
|
|
lockfile = "~/git/dotfiles/home/.config/nvim/lazy-lock.json",
|
2023-11-25 13:24:17 +02:00
|
|
|
performance = {
|
|
|
|
disabled_plugins = { "netrwPlugin" },
|
|
|
|
},
|
2024-01-24 22:20:34 +02:00
|
|
|
defaults = {
|
|
|
|
version = "*",
|
|
|
|
},
|
2023-11-25 13:24:17 +02:00
|
|
|
})
|