62 lines
1.6 KiB
Lua
62 lines
1.6 KiB
Lua
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",
|
|
lazypath,
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require("lazy").setup({
|
|
spec = {
|
|
-- LazyVim Kern
|
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
|
|
|
-- Sprachunterstützung
|
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
|
{ import = "lazyvim.plugins.extras.lang.json" },
|
|
{ import = "lazyvim.plugins.extras.lang.docker" },
|
|
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
|
{ import = "lazyvim.plugins.extras.lang.tailwind" },
|
|
|
|
-- Linting & Formatting
|
|
{ import = "lazyvim.plugins.extras.linting.eslint" },
|
|
{ import = "lazyvim.plugins.extras.formatting.prettier" },
|
|
{ import = "lazyvim.plugins.extras.lsp.none-ls" },
|
|
|
|
-- Editor-Verbesserungen
|
|
-- { import = "lazyvim.plugins.extras.editor.mini-files" },
|
|
{ import = "lazyvim.plugins.extras.coding.yanky" },
|
|
{ import = "lazyvim.plugins.extras.util.mini-hipatterns" },
|
|
|
|
-- Debugging & Testing
|
|
{ import = "lazyvim.plugins.extras.dap.core" },
|
|
-- { import = "lazyvim.plugins.extras.test.core" },
|
|
|
|
-- Benutzerdefinierte Plugins
|
|
{ import = "plugins" },
|
|
},
|
|
defaults = {
|
|
lazy = false,
|
|
version = false,
|
|
},
|
|
install = { colorscheme = { "tokyonight", "catppuccin" } },
|
|
checker = { enabled = true },
|
|
|
|
performance = {
|
|
rtp = {
|
|
disabled_plugins = {
|
|
"gzip",
|
|
"tarPlugin",
|
|
"tohtml",
|
|
"tutor",
|
|
"zipPlugin",
|
|
},
|
|
},
|
|
},
|
|
})
|