dotfiles/.config/nvim/lua/plugins.lua

58 lines
1.3 KiB
Lua

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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
-- fuzzy finding
{
'nvim-telescope/telescope.nvim',
dependencies = { 'nvim-lua/plenary.nvim' }
},
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
{
'overcache/NeoSolarized',
config = function()
vim.cmd('colorscheme NeoSolarized')
end
},
{'nvim-treesitter/nvim-treesitter', build = ':TSUpdate'},
'tpope/vim-fugitive',
'neovim/nvim-lspconfig',
'hrsh7th/nvim-cmp', -- Autocompletion plugin
'hrsh7th/cmp-nvim-lsp', -- LSP source for nvim-cmp
'saadparwaiz1/cmp_luasnip', -- Snippets source for nvim-cmp
'L3MON4D3/LuaSnip', -- Snippets plugin
{'lukas-reineke/indent-blankline.nvim', main = "ibl",
opts = {
indent = {
char = {""},
},
},
},
'lewis6991/gitsigns.nvim',
'github/copilot.vim',
{ "jackMort/ChatGPT.nvim",
event = "VeryLazy",
config = function()
require("chatgpt").setup()
end,
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
}
}
})