You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.7 KiB
67 lines
1.7 KiB
vim.cmd [[packadd packer.nvim]]
|
|
|
|
return require('packer').startup(function(use)
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
use 'tpope/vim-sensible'
|
|
use {
|
|
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
|
}
|
|
use 'Townk/vim-autoclose'
|
|
use {
|
|
'joshdick/onedark.vim', config = function()
|
|
vim.cmd("colorscheme onedark")
|
|
end
|
|
}
|
|
use(
|
|
'nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }
|
|
)
|
|
use 'nvim-tree/nvim-web-devicons'
|
|
use { 'romgrk/barbar.nvim', wants = 'nvim-web-devicons' }
|
|
|
|
use {
|
|
'nvim-lualine/lualine.nvim',
|
|
requires = { { 'kyazdani42/nvim-web-devicons', opt = true },
|
|
'nvim-lua/lsp-status.nvim'
|
|
}
|
|
}
|
|
|
|
use 'vim-airline/vim-airline-themes'
|
|
use 'tpope/vim-fugitive'
|
|
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
branch = 'v1.x',
|
|
requires = {
|
|
-- LSP Support
|
|
{ 'neovim/nvim-lspconfig' }, -- Required
|
|
{ 'williamboman/mason.nvim' }, -- Optional
|
|
{ 'williamboman/mason-lspconfig.nvim' }, -- Optional
|
|
|
|
-- Autocompletion
|
|
{ 'hrsh7th/nvim-cmp' }, -- Required
|
|
{ 'hrsh7th/cmp-nvim-lsp' }, -- Required
|
|
{ 'hrsh7th/cmp-buffer' }, -- Optional
|
|
{ 'hrsh7th/cmp-path' }, -- Optional
|
|
{ 'saadparwaiz1/cmp_luasnip' }, -- Optional
|
|
{ 'hrsh7th/cmp-nvim-lua' }, -- Optional
|
|
|
|
-- Snippets
|
|
{ 'L3MON4D3/LuaSnip' }, -- Required
|
|
{ 'rafamadriz/friendly-snippets' }, -- Optional
|
|
}
|
|
}
|
|
|
|
use 'mattn/emmet-vim'
|
|
use 'lervag/vimtex'
|
|
use {
|
|
'nvim-tree/nvim-tree.lua',
|
|
requires = {
|
|
'nvim-tree/nvim-web-devicons', -- optional, for file icons
|
|
},
|
|
tag = 'nightly' -- optional, updated every week. (see issue #1193)
|
|
}
|
|
use 'ethanholz/nvim-lastplace'
|
|
|
|
end)
|