66 lines
1.9 KiB
Lua
66 lines
1.9 KiB
Lua
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
|
|
|
-- Only required if you have packer configured as `opt`
|
|
vim.cmd [[packadd packer.nvim]]
|
|
|
|
return require('packer').startup(function(use)
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
use {
|
|
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
|
-- or , branch = '0.1.x',
|
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
|
}
|
|
|
|
use({
|
|
'rose-pine/neovim',
|
|
as = 'rose-pine',
|
|
config = function()
|
|
vim.cmd('colorscheme rose-pine')
|
|
end
|
|
})
|
|
|
|
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
|
use('nvim-treesitter/playground')
|
|
use('theprimeagen/harpoon')
|
|
use('mbbill/undotree')
|
|
use('tpope/vim-fugitive')
|
|
use('wakatime/vim-wakatime')
|
|
use('andweeb/presence.nvim')
|
|
use('m4xshen/autoclose.nvim')
|
|
use({
|
|
"andrewferrier/wrapping.nvim",
|
|
config = function()
|
|
require("wrapping").setup()
|
|
end,
|
|
})
|
|
use "lukas-reineke/indent-blankline.nvim"
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
requires = {
|
|
{ 'neovim/nvim-lspconfig' },
|
|
{ 'williamboman/mason.nvim' },
|
|
{ 'williamboman/mason-lspconfig.nvim' },
|
|
|
|
{ 'hrsh7th/nvim-cmp' },
|
|
{ 'hrsh7th/cmp-buffer' },
|
|
{ 'hrsh7th/cmp-path' },
|
|
{ 'saadparwaiz1/cmp_luasnip' },
|
|
{ 'hrsh7th/cmp-nvim-lsp' },
|
|
{ 'hrsh7th/cmp-nvim-lua' },
|
|
|
|
{ 'L3MON4D3/LuaSnip' },
|
|
{ 'rafamadriz/friendly-snippets' },
|
|
}
|
|
}
|
|
|
|
use({
|
|
"L3MON4D3/LuaSnip",
|
|
-- follow latest release.
|
|
tag = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
|
|
-- install jsregexp (optional!:).
|
|
run = "make install_jsregexp"
|
|
})
|
|
end)
|