-- Установка Lazy
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({
    -- theme
    "navarasu/onedark.nvim",
    "folke/tokyonight.nvim",
    "shaunsingh/nord.nvim",
    "morhetz/gruvbox",
    "ellisonleao/gruvbox.nvim",
    "Mofiqul/dracula.nvim",
    "sainnhe/everforest",
    "catppuccin/nvim",
    "bluz71/vim-nightfly-colors",
    "NTBBloodbath/doom-one.nvim",
    "metalelf0/base16-black-metal-scheme",
    "EdenEast/nightfox.nvim",
    "ayu-theme/ayu-vim",
    "Shatur/neovim-ayu",
    "lunacookies/vim-colors-xcode",
    "chriskempson/vim-tomorrow-theme",
    "maxmx03/solarized.nvim",
    "antonk52/lake.nvim",
    "cocopon/iceberg.vim",

    "nvim-treesitter/nvim-treesitter",
    "folke/tokyonight.nvim",
    "shaunsingh/nord.nvim",
    "mfussenegger/nvim-lint",
    {
    'nvim-telescope/telescope.nvim', tag = '0.1.8',
      dependencies = { 'nvim-lua/plenary.nvim' }
    },
    'ThePrimeagen/harpoon',

    {
       "nvim-treesitter/nvim-treesitter",
       build = ":TSUpdate",
    },
    'shortcuts/no-neck-pain.nvim',
    {
      'phaazon/hop.nvim',
      branch = 'v2',
      config = function()
        require'hop'.setup { keys = 'etovxqpdygfblzhckisuran' }
      end
    },
    'chentoast/marks.nvim',
    'windwp/nvim-autopairs',

    -- lsp
    {'williamboman/mason.nvim'},
    {'williamboman/mason-lspconfig.nvim'},
    {'neovim/nvim-lspconfig'},
    {'hrsh7th/cmp-nvim-lsp'},
    {'hrsh7th/nvim-cmp'},

    -- git
    {
      'tanvirtin/vgit.nvim',
      dependencies = { 'nvim-lua/plenary.nvim', 'nvim-tree/nvim-web-devicons' },
      -- Lazy loading on 'VimEnter' event is necessary.
      event = 'VimEnter',
    },

    -- icons
    {
      "nvim-neo-tree/neo-tree.nvim",
      branch = "v3.x",
      dependencies = {
        "nvim-lua/plenary.nvim",
        "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
        "MunifTanjim/nui.nvim",
        -- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
      },
      lazy = false, -- neo-tree will lazily load itself
      ---@module "neo-tree"
      ---@type neotree.Config?
      opts = {
        -- fill any relevant options here
      },
    },

    {
        'nvim-lualine/lualine.nvim',
        dependencies = { 'nvim-tree/nvim-web-devicons' }
    }
})
