My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB

  1. local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
  2. if not vim.loop.fs_stat(lazypath) then
  3. -- bootstrap lazy.nvim
  4. -- stylua: ignore
  5. vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
  6. end
  7. vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
  8. require("lazy").setup({
  9. spec = {
  10. -- add LazyVim and import its plugins
  11. { "LazyVim/LazyVim", import = "lazyvim.plugins" },
  12. -- import any extras modules here
  13. -- { import = "lazyvim.plugins.extras.lang.typescript" },
  14. -- { import = "lazyvim.plugins.extras.lang.json" },
  15. -- { import = "lazyvim.plugins.extras.ui.mini-animate" },
  16. -- import/override with your plugins
  17. { import = "plugins" },
  18. },
  19. defaults = {
  20. -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
  21. -- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
  22. lazy = false,
  23. -- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
  24. -- have outdated releases, which may break your Neovim install.
  25. version = false, -- always use the latest git commit
  26. -- version = "*", -- try installing the latest stable version for plugins that support semver
  27. },
  28. install = { colorscheme = { "tokyonight", "habamax" } },
  29. checker = { enabled = true }, -- automatically check for plugin updates
  30. performance = {
  31. rtp = {
  32. -- disable some rtp plugins
  33. disabled_plugins = {
  34. "gzip",
  35. -- "matchit",
  36. -- "matchparen",
  37. -- "netrwPlugin",
  38. "tarPlugin",
  39. "tohtml",
  40. "tutor",
  41. "zipPlugin",
  42. },
  43. },
  44. },
  45. })