trixy/lua/plugins/lazy.lua

115 lines
2.3 KiB
Lua
Raw Normal View History

2024-06-16 16:52:09 +02:00
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
2023-07-29 15:00:35 +02:00
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
2024-06-16 16:52:09 +02:00
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
})
2023-07-29 15:00:35 +02:00
end
2023-07-29 15:00:35 +02:00
vim.opt.rtp:prepend(lazypath)
2024-06-16 16:52:09 +02:00
require('lazy').setup({
2023-07-29 15:00:35 +02:00
2024-06-15 16:35:23 +02:00
'EdenEast/nightfox.nvim',
2024-02-06 00:47:31 +01:00
'luckasRanarison/tree-sitter-hypr',
2023-07-29 15:00:35 +02:00
2024-02-04 00:25:41 +01:00
'lambdalisue/nerdfont.vim',
'gelguy/wilder.nvim',
2023-08-10 00:23:12 +02:00
2024-06-15 16:35:23 +02:00
'bkad/camelcasemotion',
'lewis6991/gitsigns.nvim',
2024-06-16 16:52:09 +02:00
{
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
dependencies = {
'nvim-lua/plenary.nvim'
}
},
{
2024-06-15 16:35:23 +02:00
'stevearc/oil.nvim',
dependencies = {
2024-06-16 16:52:09 +02:00
'nvim-tree/nvim-web-devicons'
2024-06-15 16:35:23 +02:00
},
},
{
2024-06-15 16:35:23 +02:00
'kylechui/nvim-surround',
version = '*', -- Use for stability; omit to use `main` branch for the latest features
config = function()
2024-06-15 16:35:23 +02:00
require('nvim-surround').setup()
end
},
2023-07-31 23:57:35 +02:00
2024-07-10 10:57:53 +02:00
{
'OXY2DEV/markview.nvim',
config = function()
require('markview').setup()
end
},
2024-02-10 19:47:43 +01:00
{
2024-06-15 16:35:23 +02:00
'shellRaining/hlchunk.nvim',
event = {
'UIEnter'
},
2024-02-10 19:47:43 +01:00
},
2023-07-31 23:57:35 +02:00
{
2024-06-15 16:35:23 +02:00
'ThePrimeagen/harpoon',
branch = 'harpoon2',
2024-02-06 00:47:31 +01:00
dependencies = {
2024-06-15 16:35:23 +02:00
'nvim-lua/plenary.nvim'
2024-02-06 00:47:31 +01:00
}
2023-07-31 23:57:35 +02:00
},
2023-07-30 09:07:54 +02:00
{
2024-06-15 16:35:23 +02:00
'nvim-lualine/lualine.nvim',
2023-07-30 09:07:54 +02:00
dependencies =
{
2024-06-15 16:35:23 +02:00
'nvim-tree/nvim-web-devicons',
2023-07-30 09:07:54 +02:00
opt = true
}
},
2023-07-29 15:00:35 +02:00
{
2024-06-15 16:35:23 +02:00
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate'
2023-07-29 15:00:35 +02:00
},
2024-02-10 19:47:43 +01:00
{
2024-06-15 16:35:23 +02:00
'VonHeikemen/lsp-zero.nvim',
2024-02-06 00:47:31 +01:00
branch = 'v3.x',
2023-07-29 15:00:35 +02:00
dependencies = {
-- LSP Support
2024-06-15 16:35:23 +02:00
{'neovim/nvim-lspconfig'}, -- Required
{'williamboman/mason.nvim'}, -- Optional
{'williamboman/mason-lspconfig.nvim'}, -- Optional
2023-07-29 15:00:35 +02:00
-- Autocompletion
2024-06-15 16:35:23 +02:00
{'hrsh7th/nvim-cmp'}, -- Required
{'hrsh7th/cmp-nvim-lsp'}, -- Required
{'L3MON4D3/LuaSnip'}, -- Required
2023-07-29 15:00:35 +02:00
}
},
2024-02-06 00:47:31 +01:00
{
2024-06-15 16:35:23 +02:00
'echasnovski/mini.nvim',
version = false
2024-02-06 00:47:31 +01:00
},
2023-07-29 15:00:35 +02:00
})
vim.opt.laststatus=2
2024-07-10 10:57:53 +02:00
-- vim.keymap.set('i', '<Tab>', [[pumvisible() ? '\<C-n>' : '\<Tab>']], { expr = true })
-- vim.keymap.set('i', '<S-Tab>', [[pumvisible() ? '\<C-p>' : '\<S-Tab>']], { expr = true })