62 lines
1.5 KiB
Lua
62 lines
1.5 KiB
Lua
vim.cmd [[packadd packer.nvim]]
|
|
|
|
return require('packer').startup(function(use)
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
-- Telescope
|
|
use({
|
|
'nvim-telescope/telescope.nvim',
|
|
tag = '0.1.8',
|
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
|
})
|
|
|
|
-- Treesitter
|
|
use({
|
|
'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }
|
|
})
|
|
use 'nvim-treesitter/playground'
|
|
|
|
-- LSP / Autocompletion
|
|
use({'williamboman/mason.nvim'})
|
|
use({'williamboman/mason-lspconfig.nvim'})
|
|
use({'neovim/nvim-lspconfig'})
|
|
use({'hrsh7th/nvim-cmp'})
|
|
use({'hrsh7th/cmp-nvim-lsp'})
|
|
use({'hrsh7th/cmp-buffer'})
|
|
use({'hrsh7th/cmp-path'})
|
|
use({'hrsh7th/cmp-cmdline'})
|
|
|
|
-- 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"
|
|
})
|
|
use({"rafamadriz/friendly-snippets"})
|
|
use({"saadparwaiz1/cmp_luasnip"})
|
|
|
|
-- Harpoon
|
|
use 'ThePrimeagen/harpoon'
|
|
|
|
-- Undo Tree
|
|
use 'mbbill/undotree'
|
|
|
|
-- Vim Fugitive
|
|
use 'tpope/vim-fugitive'
|
|
|
|
-- Color Scheme
|
|
use 'folke/tokyonight.nvim'
|
|
|
|
-- Distant (Remote Editing)
|
|
use {
|
|
'chipsenkbeil/distant.nvim',
|
|
branch = 'v0.3',
|
|
config = function()
|
|
require('distant'):setup()
|
|
end
|
|
}
|
|
end)
|