2025-04-18 21:40:38 +06:00

82 lines
2.0 KiB
Lua

-- Установка 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",
"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' }
}
})