added all plugins to lazy
This commit is contained in:
parent
738bcabefe
commit
8fb7e9ad0a
202
lua/my_lazy.lua
202
lua/my_lazy.lua
@ -26,26 +26,212 @@ local plugins = {
|
|||||||
require('setup/treesitter')
|
require('setup/treesitter')
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'p00f/nvim-ts-rainbow',
|
||||||
|
dependencies = 'nvim-treesitter/nvim-treesitter',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ 'nvim-lua/plenary.nvim' },
|
'nvim-lua/plenary.nvim',
|
||||||
{ 'kyazdani42/nvim-web-devicons' },
|
'kyazdani42/nvim-web-devicons',
|
||||||
|
{
|
||||||
|
'nvim-telescope/telescope-fzf-native.nvim',
|
||||||
|
build = {
|
||||||
|
'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -G Ninja', -- On windows add -DCMAKE_C_FLAGS="-target x86_64-w64-mingw32"
|
||||||
|
'cmake --build build --config Release',
|
||||||
|
'cmake --install build --prefix build'
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('telescope').load_extension('fzf')
|
||||||
|
end
|
||||||
|
},
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require('setup/telescope')
|
require('setup/telescope')
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope-fzf-native.nvim',
|
'eddyekofo94/gruvbox-flat.nvim',
|
||||||
build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-target x86_64-w64-mingw32" -G Ninja && cmake --build build --config Release && cmake --install build --prefix build',
|
disable = false,
|
||||||
dependencies = {
|
|
||||||
'nvim-telescope/telescope.nvim',
|
|
||||||
},
|
|
||||||
config = function()
|
config = function()
|
||||||
require('telescope').load_extension('fzf')
|
require('setup/my_gruvbox_flat')
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'lukas-reineke/indent-blankline.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-treesitter/nvim-treesitter',
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('setup/indent_blankline')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'lewis6991/gitsigns.nvim',
|
||||||
|
config = function()
|
||||||
|
require('setup/gitsigns')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'numToStr/Comment.nvim',
|
||||||
|
config = function()
|
||||||
|
require('setup/comment')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'hoob3rt/lualine.nvim',
|
||||||
|
dependencies = { 'kyazdani42/nvim-web-devicons' },
|
||||||
|
config = function()
|
||||||
|
require('setup/lualine')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'hrsh7th/nvim-cmp',
|
||||||
|
dependencies = {
|
||||||
|
{ 'onsails/lspkind-nvim' },
|
||||||
|
{ 'hrsh7th/cmp-buffer' },
|
||||||
|
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||||
|
{
|
||||||
|
'L3MON4D3/LuaSnip',
|
||||||
|
config = function()
|
||||||
|
require('setup/luasnip')
|
||||||
|
end,
|
||||||
|
dependencies =
|
||||||
|
{
|
||||||
|
'rafamadriz/friendly-snippets'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ 'saadparwaiz1/cmp_luasnip' },
|
||||||
|
{ 'hrsh7th/cmp-nvim-lua' },
|
||||||
|
{ 'octaltree/cmp-look' },
|
||||||
|
{ 'hrsh7th/cmp-path' },
|
||||||
|
{ 'hrsh7th/cmp-calc' },
|
||||||
|
{ 'f3fora/cmp-spell' },
|
||||||
|
{ 'hrsh7th/cmp-emoji' },
|
||||||
|
{ 'hrsh7th/cmp-cmdline' },
|
||||||
|
{ 'dmitmel/cmp-cmdline-history' },
|
||||||
|
{ 'ray-x/cmp-treesitter' },
|
||||||
|
{ 'hrsh7th/cmp-nvim-lsp-signature-help' },
|
||||||
|
{ 'p00f/clangd_extensions.nvim' },
|
||||||
|
{
|
||||||
|
'windwp/nvim-autopairs',
|
||||||
|
config = function()
|
||||||
|
require('setup/nvim-autopairs')
|
||||||
|
end
|
||||||
|
},
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('setup/my_cmp')
|
||||||
|
end,
|
||||||
|
event = "InsertEnter",
|
||||||
|
},
|
||||||
|
-- {
|
||||||
|
-- 'L3MON4D3/LuaSnip',
|
||||||
|
-- config = function()
|
||||||
|
-- require('setup/luasnip')
|
||||||
|
-- end,
|
||||||
|
-- dependencies =
|
||||||
|
-- {
|
||||||
|
-- 'rafamadriz/friendly-snippets'
|
||||||
|
-- }
|
||||||
|
{
|
||||||
|
'neovim/nvim-lspconfig',
|
||||||
|
dependencies = {
|
||||||
|
'williamboman/mason.nvim',
|
||||||
|
'williamboman/mason-lspconfig.nvim',
|
||||||
|
'p00f/clangd_extensions.nvim',
|
||||||
|
'jose-elias-alvarez/null-ls.nvim',
|
||||||
|
'ray-x/lsp_signature.nvim',
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('setup/my_lspconfig')
|
||||||
|
end,
|
||||||
|
event = { "InsertEnter", "CursorMoved" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'akinsho/toggleterm.nvim',
|
||||||
|
config = function()
|
||||||
|
require('setup/toggleterm')
|
||||||
|
end,
|
||||||
|
cmd = 'ToggleTerm'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'gbprod/yanky.nvim',
|
||||||
|
config = function()
|
||||||
|
require('setup/yanky')
|
||||||
|
end,
|
||||||
|
keys = {
|
||||||
|
{ 'n', '<c-n>' },
|
||||||
|
{ 'n', '<c-o>' }
|
||||||
|
},
|
||||||
|
dependencies = {
|
||||||
|
'nvim-telescope/telescope.nvim'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'stevearc/aerial.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-telescope/telescope.nvim'
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('setup/aerial')
|
||||||
|
end,
|
||||||
|
keys = {
|
||||||
|
{ 'n', '<leader>s' }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'ggandor/leap.nvim',
|
||||||
|
dependencies = { 'tpope/vim-repeat' },
|
||||||
|
config = function()
|
||||||
|
require('setup/my_leap')
|
||||||
|
end
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'mfussenegger/nvim-dap',
|
||||||
|
dependencies = {
|
||||||
|
'mfussenegger/nvim-dap-python',
|
||||||
|
'theHamsta/nvim-dap-virtual-text',
|
||||||
|
{
|
||||||
|
'nvim-telescope/telescope-dap.nvim',
|
||||||
|
dependencies = 'telescope.nvim',
|
||||||
|
},
|
||||||
|
'rcarriga/nvim-dap-ui',
|
||||||
|
'rcarriga/cmp-dap',
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ '<F5>' },
|
||||||
|
{ '<F6>' },
|
||||||
|
{ '<F7>' },
|
||||||
|
{ '<F8>' },
|
||||||
|
{ '<F9>' },
|
||||||
|
{ '<F10>' },
|
||||||
|
{ '<F11>' },
|
||||||
|
{ '<S-F11>' }
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('setup/my_dap')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'sindrets/diffview.nvim',
|
||||||
|
dependencies = 'nvim-lua/plenary.nvim',
|
||||||
|
config = function()
|
||||||
|
require('setup/my_diffview')
|
||||||
|
end,
|
||||||
|
cmd = 'DiffviewOpen',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'stevearc/overseer.nvim',
|
||||||
|
config = function()
|
||||||
|
require('setup/my_overseer')
|
||||||
|
end,
|
||||||
|
keys = {
|
||||||
|
{ '<F4>' }
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
local opts = {}
|
local opts = {}
|
||||||
require("lazy").setup(plugins, opts)
|
require("lazy").setup(plugins, opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user