56 lines
1.8 KiB
Lua
56 lines
1.8 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(vim.env.LAZY or lazypath)
|
|
|
|
require("lazy").setup({
|
|
spec = {
|
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
|
{ import = "lazyvim.plugins.extras.ui.alpha" },
|
|
{ import = "lazyvim.plugins.extras.ui.edgy" },
|
|
{ import = "plugins" },
|
|
{ import = "plugins.plugins" },
|
|
{ import = "lazyvim.plugins.extras.lang.tailwind" },
|
|
{ import = "lazyvim.plugins.extras.lang.rust" },
|
|
{ import = "lazyvim.plugins.extras.lang.java" },
|
|
{ import = "lazyvim.plugins.extras.lang.go" },
|
|
{ import = "lazyvim.plugins.extras.lang.clangd" },
|
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
|
{ import = "lazyvim.plugins.extras.lang.python" },
|
|
{ import = "lazyvim.plugins.extras.lang.markdown" },
|
|
{ import = "lazyvim.plugins.extras.lang.cmake" },
|
|
{ import = "lazyvim.plugins.extras.lang.omnisharp" },
|
|
{ import = "lazyvim.plugins.extras.lang.json" },
|
|
{ import = "lazyvim.plugins.extras.lang.tex" },
|
|
{ import = "lazyvim.plugins.extras.util.dot" },
|
|
{ import = "lazyvim.plugins.extras.dap.core" },
|
|
{ import = "lazyvim.plugins.extras.test.core" },
|
|
},
|
|
defaults = {
|
|
lazy = true,
|
|
version = false,
|
|
},
|
|
install = { colorscheme = { "tokyonight", "catppuccin-mocha" } },
|
|
checker = { enabled = true, notify = false },
|
|
change_detection = { enabled = true, notify = false },
|
|
performance = {
|
|
rtp = {
|
|
disabled_plugins = {
|
|
"gzip",
|
|
"netrw",
|
|
"tarPlugin",
|
|
"tohtml",
|
|
"tutor",
|
|
"zipPlugin",
|
|
},
|
|
},
|
|
},
|
|
})
|