mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-09 20:19:37 +00:00
70 lines
1.9 KiB
Lua
70 lines
1.9 KiB
Lua
-- To update packages, load the file with `:so` and then update via `:PackerSync`
|
|
--
|
|
-- 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 package manager itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
-- Telescope fuzzyfinder
|
|
use {
|
|
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
|
-- or , branch = '0.1.x',
|
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
|
}
|
|
|
|
-- Rose-pine colorscheme
|
|
use({
|
|
'rose-pine/neovim',
|
|
as = 'rose-pine',
|
|
config = function()
|
|
vim.cmd('colorscheme rose-pine')
|
|
end
|
|
})
|
|
|
|
-- Tree-sitter - AST capabilities for neovim
|
|
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
|
use('nvim-treesitter/playground')
|
|
|
|
-- Harpoon - easily go between files
|
|
use('theprimeagen/harpoon')
|
|
|
|
-- Undotree - undo history visualizer
|
|
use('mbbill/undotree')
|
|
|
|
-- Vim fugitive - git wrapper
|
|
use('tpope/vim-fugitive')
|
|
|
|
-- Statusline
|
|
use {
|
|
'nvim-lualine/lualine.nvim',
|
|
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
|
|
}
|
|
|
|
-- LSP
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
requires = {
|
|
-- LSP Support
|
|
{ 'neovim/nvim-lspconfig' },
|
|
{ 'williamboman/mason.nvim' },
|
|
{ 'williamboman/mason-lspconfig.nvim' },
|
|
|
|
-- Autocompletion
|
|
{ 'hrsh7th/nvim-cmp' },
|
|
{ 'hrsh7th/cmp-buffer' },
|
|
{ 'hrsh7th/cmp-path' },
|
|
{ 'saadparwaiz1/cmp_luasnip' },
|
|
{ 'hrsh7th/cmp-nvim-lsp' },
|
|
{ 'hrsh7th/cmp-nvim-lua' },
|
|
|
|
-- Snippets
|
|
{ 'L3MON4D3/LuaSnip' },
|
|
{ 'rafamadriz/friendly-snippets' },
|
|
}
|
|
}
|
|
end)
|