nvim/lua/plugins.lua
2022-04-22 15:30:12 +08:00

50 lines
1022 B
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()
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- LSP
use { 'neovim/nvim-lspconfig', 'williamboman/nvim-lsp-installer' }
use 'windwp/nvim-autopairs'
use 'windwp/nvim-ts-autotag'
use 'hrsh7th/nvim-cmp'
use 'hrsh7th/cmp-path'
use 'hrsh7th/cmp-buffer'
use 'hrsh7th/cmp-nvim-lsp'
use 'saadparwaiz1/cmp_luasnip'
use 'L3MON4D3/LuaSnip'
-- Frame
use { "ellisonleao/gruvbox.nvim" }
-- need to install nerd font
use 'kyazdani42/nvim-web-devicons'
use 'kyazdani42/nvim-tree.lua'
use 'akinsho/bufferline.nvim'
use 'nvim-lualine/lualine.nvim'
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate'
}
-- utils
use 'numToStr/Comment.nvim'
use {
'nvim-telescope/telescope.nvim',
requires = { { 'nvim-lua/plenary.nvim' } }
}
use {"akinsho/toggleterm.nvim"}
end)