aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/config/lazy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/config/lazy.lua')
-rw-r--r--nvim/lua/config/lazy.lua64
1 files changed, 32 insertions, 32 deletions
diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua
index 76f59cb..972e777 100644
--- a/nvim/lua/config/lazy.lua
+++ b/nvim/lua/config/lazy.lua
@@ -1,32 +1,32 @@
1-- https://lazy.folke.io/installation 1-- https://lazy.folke.io/installation
2 2
3local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" 3local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
4if not vim.uv.fs_stat(lazypath) then 4if not vim.uv.fs_stat(lazypath) then
5 local lazyrepo = "https://github.com/folke/lazy.nvim.git" 5 local lazyrepo = "https://github.com/folke/lazy.nvim.git"
6 local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) 6 local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
7 if vim.v.shell_error ~= 0 then 7 if vim.v.shell_error ~= 0 then
8 vim.api.nvim_echo({ 8 vim.api.nvim_echo({
9 { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, 9 { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
10 { out, "WarningMsg" }, 10 { out, "WarningMsg" },
11 { "\nPress any key to exit..." }, 11 { "\nPress any key to exit..." },
12 }, true, {}) 12 }, true, {})
13 vim.fn.getchar() 13 vim.fn.getchar()
14 os.exit(1) 14 os.exit(1)
15 end 15 end
16end 16end
17vim.opt.rtp:prepend(lazypath) 17vim.opt.rtp:prepend(lazypath)
18 18
19require("lazy").setup({ 19require("lazy").setup({
20 spec = { 20 spec = {
21 { import = "plugins" }, 21 { import = "plugins" },
22 }, 22 },
23 checker = { 23 checker = {
24 enabled = true, 24 enabled = true,
25 notify = false, 25 notify = false,
26 frequency = 86400, -- Sekunden (1 Tag) 26 frequency = 86400, -- Sekunden (1 Tag)
27 log = true, 27 log = true,
28 }, 28 },
29 rocks = { 29 rocks = {
30 enabled = false, 30 enabled = false,
31 }, 31 },
32}) 32})