This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/neovim/lua/plugins.lua

49 lines
1.4 KiB
Lua
Raw Normal View History

2021-06-13 11:02:27 -05:00
local setup = function()
2021-07-04 11:01:15 -05:00
local packer_install_path = vim.fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
if #vim.fn.glob(packer_install_path) == 0 then
2021-06-13 11:02:27 -05:00
vim.fn.system {'git', 'clone', 'https://github.com/wbthomason/packer.nvim', packer_install_path}
vim.api.nvim_command'packadd packer.nvim'
end
2021-11-09 10:26:05 -06:00
vim.g.polyglot_disabled = {'cue'}
2021-06-13 11:02:27 -05:00
local packer = require'packer'
packer.startup(function()
local plugins = {
'wbthomason/packer.nvim',
'editorconfig/editorconfig-vim',
'tpope/vim-sleuth',
'vim-scripts/LargeFile',
'vim-scripts/restore_view.vim',
'christoomey/vim-tmux-navigator',
'tpope/vim-fugitive',
'tpope/vim-rhubarb',
'tpope/vim-commentary',
'tpope/vim-repeat',
'machakann/vim-sandwich',
'michaeljsmith/vim-indent-object',
'wellle/targets.vim',
'bkad/CamelCaseMotion',
'ludovicchabant/vim-gutentags',
'tpope/vim-obsession',
'dhruvasagar/vim-prosession',
2021-12-09 10:55:52 -06:00
'nvim-lua/popup.nvim',
'nvim-lua/plenary.nvim',
2021-06-13 11:02:27 -05:00
{'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}},
2021-12-09 10:55:52 -06:00
-- 'joshdick/onedark.vim',
2021-07-04 11:01:15 -05:00
'lukas-reineke/indent-blankline.nvim',
2021-12-09 10:55:52 -06:00
-- {'lewis6991/gitsigns.nvim', requires = {'nvim-lua/plenary.nvim'}},
2021-06-13 11:02:27 -05:00
'neovim/nvim-lspconfig',
'hrsh7th/nvim-compe',
2021-07-16 21:38:18 -05:00
'jjo/vim-cue',
2021-06-13 11:02:27 -05:00
'sheerun/vim-polyglot',
{'neoclide/coc.nvim', branch = 'release'},
}
for _,plugin in ipairs(plugins) do
packer.use(plugin)
end
end)
end
return {setup = setup}