You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
Lua
51 lines
1.1 KiB
Lua
vim.cmd [[packadd packer.nvim]]
|
|
|
|
return require('packer').startup(function(use)
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
-- Navigation
|
|
use {
|
|
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
|
-- or , branch = '0.1.x',
|
|
requires = { {'nvim-lua/plenary.nvim'} }
|
|
}
|
|
|
|
-- Colours
|
|
use("ellisonleao/gruvbox.nvim")
|
|
use({'rose-pine/neovim', as = 'rose-pine' })
|
|
|
|
-- Treesitter
|
|
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
|
use('nvim-treesitter/playground')
|
|
|
|
-- Editing
|
|
use('mbbill/undotree')
|
|
use('tpope/vim-surround')
|
|
use('tpope/vim-commentary')
|
|
|
|
-- LSP
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
branch = 'v2.x',
|
|
requires = {
|
|
-- LSP Support
|
|
{'neovim/nvim-lspconfig'}, -- Required
|
|
{ -- Optional
|
|
'williamboman/mason.nvim',
|
|
run = function()
|
|
vim.cmd [[MasonUpdate]]
|
|
end,
|
|
},
|
|
{'williamboman/mason-lspconfig.nvim'}, -- Optional
|
|
|
|
-- Autocompletion
|
|
{'hrsh7th/nvim-cmp'}, -- Required
|
|
{'hrsh7th/cmp-nvim-lsp'}, -- Required
|
|
{'L3MON4D3/LuaSnip'}, -- Required
|
|
},
|
|
|
|
use('tpope/vim-fugitive'),
|
|
use('editorconfig/editorconfig-vim'),
|
|
}
|
|
end)
|