aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/config/lazy.lua
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2025-12-22 17:37:13 +0100
committerThomas Schmucker <ts@its1.de>2025-12-22 17:37:13 +0100
commite8bd36899b88285c94c850f0dfce0754d94cfe24 (patch)
treeaa857a427db278888233ab03cad59b138d16eaa8 /nvim/lua/config/lazy.lua
parent6f6457b7397247a34e25d4d9bfca434d8306283e (diff)
downloaddotfiles-e8bd36899b88285c94c850f0dfce0754d94cfe24.tar.gz
dotfiles-e8bd36899b88285c94c850f0dfce0754d94cfe24.tar.bz2
dotfiles-e8bd36899b88285c94c850f0dfce0754d94cfe24.zip
Neovim: Neue Konfiguration
Diffstat (limited to 'nvim/lua/config/lazy.lua')
-rw-r--r--nvim/lua/config/lazy.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua
new file mode 100644
index 0000000..c798b9d
--- /dev/null
+++ b/nvim/lua/config/lazy.lua
@@ -0,0 +1,29 @@
1-- https://lazy.folke.io/installation
2
3local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
4if not (vim.uv or vim.loop).fs_stat(lazypath) then
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 })
7 if vim.v.shell_error ~= 0 then
8 vim.api.nvim_echo({
9 { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
10 { out, "WarningMsg" },
11 { "\nPress any key to exit..." },
12 }, true, {})
13 vim.fn.getchar()
14 os.exit(1)
15 end
16end
17vim.opt.rtp:prepend(lazypath)
18
19require("lazy").setup({
20 spec = {
21 { import = "plugins" },
22 },
23 checker = {
24 enabled = true
25 },
26 rocks = {
27 enabled = false,
28 },
29})